https://www.dendron.so/ logo
Join Discord
Powered by
# questions
  • k

    kevins8

    10/17/2020, 6:13 PM
    hey howard 🙂
  • k

    kevins8

    10/17/2020, 6:13 PM
    yep, its called
    buildSite
    in the cli: https://dendron.so/notes/8b03ed06-4f46-46e0-8652-c6abf2266a79.html#buildsite
  • k

    kevins8

    10/17/2020, 6:13 PM
    @User wrote a github action around it https://dendron.so/notes/692fa114-f798-467f-a0b9-3cccc327aa6f.html#publish-to-github-pages-with-actions
  • r

    runlevelrobot

    10/17/2020, 6:14 PM
    awesome thanks man
  • h

    HeyyyyJinn

    10/17/2020, 6:20 PM
    @User I have the following as snippets:
  • h

    HeyyyyJinn

    10/17/2020, 6:20 PM
    Copy code
    // Make a folding toggle
        "fold.selected": {
            "prefix" : ["fold.selected"],
            "body":
                ["<details><summary>$1",
                "</summary>",
                "${TM_SELECTED_TEXT}",
                "</details>",
                "$0"],
            "description": "Creates a toggle fold on the selection"
        },
    
        "fold.new": {
            "prefix" : ["fold.new"],
            "body":
                ["<details><summary>$1",
                "</summary>",
                "$2",
                "</details>",
                "$0"],
            "description": "Creates a new toggle fold"
        },
  • h

    HeyyyyJinn

    10/17/2020, 6:23 PM
    and I changed the snippet key to Ctrl+Space. So when have something I want want to hide in a toggle, I select the text (shift+arrow key, or using the mouse), ctrl+space, and press enter on "fold.selected". This folds the selected text and puts my cursor in position to type what I want visible. Then, pressing tab exits the toggle and gets me in position to write the next line.
  • h

    HeyyyyJinn

    10/17/2020, 6:25 PM
    When I want to type in the selected text, i press ctrl+space and select fold.new. I type what's visible, press tab, type whats to be hidden, and another tab gets me ready to keep writing on a new line. Thats how I make a folding toggle with just two keypresses. Hope that helps!
  • h

    HeyyyyJinn

    10/17/2020, 6:29 PM
    As for the "zoom in", or what I like to call the "drill down" function of outliners like Dynalist, you can select text in Dendron, ctrl-L to bring up the loopup, select the link icon, press tab to go to the end of the title, write a title addon, and press enter. That instantly creates a new page hyperlinked from the selected text, but best of all, it nests it inside the previous note. I like this better because you can "zoom in" to individual words as well as while sentences and paragraphs.
  • l

    lukecarrier

    10/18/2020, 5:48 PM
    Anyone know of a good VS Code extension that supports altering heading levels under the selection? 🎚️ All the ones I've seen only the one under the cursor, which I can already do with the equally clumsy find and replace haha
  • k

    kevins8

    10/18/2020, 5:50 PM
    @User markdown shortcuts, which comes bundled with dendron, lets you toggle headers with the following command
    > toggle header level X
  • l

    lukecarrier

    10/18/2020, 5:52 PM
    That's for each selected line, rather than just existing headings in the selection though, I think? I'm finding that as I refactor notes down (thanks for the option to take extract the selection btw, it's a life saver) I often want to take deeper nested headings and quickly promote them, and vice versa as I add new sections to notes
  • k

    kevins8

    10/18/2020, 6:07 PM
    got it. yeah, i don't know of any extension that does that. been meaning to build that into dendron at some point or as a standalone extension 😅
  • l

    lukecarrier

    10/18/2020, 6:08 PM
    I can see it being a useful standalone extension, so I'll add it to the list haha
  • b

    Bassmann

    10/18/2020, 6:30 PM
    I'm afraid I found yet another bug: timestamps do update but the human readable vesion does not
  • l

    lukecarrier

    10/18/2020, 6:30 PM
    They also get stuck in place if you accidentally delete the contents of the buffer
  • k

    kevins8

    10/18/2020, 6:31 PM
    it updates before every save but it was temporarily turned off when I was investigating a performance issue. turned to not be caused by the save behavior
  • k

    kevins8

    10/18/2020, 6:31 PM
    will be turned back on with today's update!
  • k

    kevins8

    10/18/2020, 6:32 PM
    @User yep, aware of that. decorators still need some work 😅
  • l

    lukecarrier

    10/18/2020, 6:35 PM
    High praise that doesn't sound like it: I turned on the LSP support today, and other than delayed responses from lookup when making large numbers of content changes (changing git branches 😅) I can't tell anything's changed
  • b

    Bassmann

    10/18/2020, 6:35 PM
    > will be turned back on with today's update! @User Your frequency of updates is amazing! How do you cope with that?
  • l

    lukecarrier

    10/18/2020, 6:36 PM
    Indexing seems much more consistent now -- I'd gotten into the habit of reloading the window between branch changes and that's no longer necessary 😄
  • k

    kevins8

    10/18/2020, 6:38 PM
    > High praise that doesn't sound like it: I turned on the LSP support today, and other than delayed responses from lookup when making large numbers of content changes (changing git branches 😅) I can't tell anything's changed @User that was my main goal behind the initial migration - ideally, this shouldn't be something that people would even be aware of
  • l

    lukecarrier

    10/18/2020, 6:38 PM
    Serious props, the quality of the experience has been top notch
  • l

    lukecarrier

    10/18/2020, 6:38 PM
    Thank you 😁
  • k

    kevins8

    10/18/2020, 6:39 PM
    > @User Your frequency of updates is amazing! How do you cope with that? @User dendron is my full time thing and i enjoy the work 🙂
  • k

    kevins8

    10/18/2020, 6:39 PM
    and the community 🌱
  • b

    Bassmann

    10/18/2020, 6:41 PM
    I noticed only improvements from server mode. I continue to be impressed by Dendron and the speed of evolution. On top this is a very friendly community which i also enjoy a lot
  • l

    lukecarrier

    10/18/2020, 6:42 PM
    I love how versatile it already is, providing a great editing and browsing experience through the preview. Such easy publishing is awesome for sharing notes with colleagues too
  • l

    lukecarrier

    10/18/2020, 6:43 PM
    It's super interesting getting to grips with other folks' workflows too, especially all of your schemas you keep sharing 🙉
1...919293...757Latest