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

    boxian

    10/02/2020, 2:10 AM
    @User i don't know YAML at all and i'm curious about what all I can define as variables when creating schema. Is there a good resource? I saw the onboarding video where you go into a bit, but I'd like to get a better handle on it. Or can i just define whatever I want and go wild?
  • k

    kevins8

    10/02/2020, 3:43 AM
    so dendron schemas follow a specific format which is documented here: https://dendron.so/notes/c5e5adde-5459-409b-b34d-a0d75cbb1052.html the raw YAML can be a bit intimidating which is why we're also working on a graphical drag and drop interface as part of the quality of live improvements in october https://dendron.so/notes/c4cb56af-ec13-4e57-aede-eb341e870736.html
  • b

    boxian

    10/02/2020, 3:44 AM
    thanks!
  • v

    vulfypeck

    10/02/2020, 3:26 PM
    Is there anyway to get the enhanced markdown preview to also be in dark mode?
  • i

    imalightbulb

    10/02/2020, 3:31 PM
    @User Add this line in your
    settings.json
  • i

    imalightbulb

    10/02/2020, 3:31 PM
    "markdown-preview-enhanced.previewTheme": "github-dark.css"
  • i

    imalightbulb

    10/02/2020, 3:32 PM
    there is a variety of themes to choose, it'll prompt the suggestions when typing
  • u

    user

    10/02/2020, 3:33 PM
    it's available through settings UI as well, look for "Markdown-preview-enhanced: Preview Theme" in settings
  • v

    vulfypeck

    10/02/2020, 3:33 PM
    Oh beautiful. I didn't realize it was that plugin. Thanks peeps.
  • v

    vulfypeck

    10/02/2020, 3:33 PM
    looks great
  • u

    user

    10/02/2020, 9:48 PM
    @kevins8 you've done test about what happens when you initialize more than 2000
    .md
    files in your dendron workspace ?
  • u

    user

    10/02/2020, 9:50 PM
    the same folder for all files approach can optimize the search but I don't know about vscode performance
  • k

    kevins8

    10/02/2020, 11:14 PM
    @User this really depends on how much frontmatter/metadata you have in your notes. initialization time depends on how long it takes us to parse your notes + metadata. my primary workspace has about ~5000 notes. initialization takes about ~20s which is not great but i generally leave my workspace running for the week. we are adding a cache in october that will make initialization near instantaneous. having all files in one folder or multiple folders doesn't affect vscode performance as far as I can tell.
  • r

    robothor

    10/03/2020, 7:35 AM
    More of a general question for folks, but what default keybindings do you keep and what do you change? I've jettisoned the
    cmd-shift-{left,right,up,down}
    since they conflict with my muscle memory for "select to end of line" on MacOS. Even in vim-mode, when I am in insert mode I find this far easier than going back to normal mode. But I haven't settled on any replacements yet. For reference, the motion and selection commands "Document Shortcuts" on https://support.apple.com/en-us/HT201236 are the ones that I have a hard time remapping to anything else.
  • u

    user

    10/03/2020, 8:13 AM
    For context, i am on W10. I have also removed those keybindings
    ctrl-shift-{direction}
    , as it is used in vanilla vscode for almost the same reason. I've also changed generating scratch (i think windows uses `ctrl-shift-s`for screenshot snippets) Except for those, i havent touched anything
  • k

    kevins8

    10/03/2020, 3:15 PM
    > didn't realize the
    ctrl-shift
    keybindings overlapped. will be updating the defaults in the next release for those particular commands
  • g

    grndstt

    10/03/2020, 5:53 PM
    Hi ! I would like to add a bibliography: key with a custom default value to all my dendron notes
  • g

    grndstt

    10/03/2020, 5:53 PM
    how can I do this ?
  • k

    kevins8

    10/03/2020, 6:23 PM
    @User would this be in the frontmatter of the note or in the markdown?
  • g

    grndstt

    10/03/2020, 6:44 PM
    in the frontmatter
  • g

    grndstt

    10/03/2020, 6:47 PM
    this allows to take advantage of pandoc and display a bibliography in the previewed markdown
  • g

    grndstt

    10/03/2020, 6:47 PM
    hwever for now I have to fix it manually
  • g

    grndstt

    10/03/2020, 6:48 PM
    I thought it could be set in the shema yaml file but pandoc doesn't find the bibliography this way
  • k

    kevins8

    10/03/2020, 6:49 PM
    got it. currently, we don't have a builtin way of doing this but i'm planning on adding a
    refactor frontmatter
    command that will let users change/backfill fm props on dendron notes. also, we have a schema update to define custom frontmatter for notes that match a schema. the combination of the above two changes should fill out your use cases (if not, let me know) can you give us a feature request so i can link new/existing tickets to it? https://github.com/dendronhq/dendron/issues/new?assignees=&labels=&template=feature_request.md&title=
  • g

    grndstt

    10/03/2020, 6:50 PM
    @User sorry I did not understand when you say "also, we have a schema update to define custom frontmatter for notes that match a schema. " Is this existing ?
  • g

    grndstt

    10/03/2020, 6:50 PM
    or to be implemented ?
  • k

    kevins8

    10/03/2020, 6:51 PM
    to be implemented. both changes should land sometime in october!
  • g

    grndstt

    10/03/2020, 6:51 PM
    OK
  • g

    grndstt

    10/03/2020, 6:51 PM
    so Ill fill the feature request for the record
  • g

    grndstt

    10/03/2020, 6:51 PM
    and to keep track
1...808182...757Latest