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

    dakegumo

    10/21/2022, 5:36 AM
    Sometimes when I create a note, Dendron asks me which vault to use, and it shows me a list with the same vault name repeated. As far as I can tell, it doesn’t matter which of the two options I choose, but there is a bit of friction.
    j
    • 2
    • 7
  • j

    Joshi

    10/21/2022, 6:24 AM
    Duplicate entries in select vault
  • g

    gresch

    10/21/2022, 8:07 AM
    Thanks again @Tanamr for your reply! Hm, I have tried now everthing, w/ and w/o single quotes (as per YAML), absolute and relative pathes. Still getting (now at CLI):
    Copy code
    js
    TypeError: Cannot read properties of undefined (reading 'entries')
        at /usr/local/lib/node_modules/@dendronhq/dendron-cli/node_modules/@dendronhq/pods-core/lib/builtin/MarkdownPod.js:124:37
        at Array.forEach (<anonymous>)
        at MarkdownImportPod.buildFileDirAssetDicts (/usr/local/lib/node_modules/@dendronhq/dendron-cli/node_modules/@dendronhq/pods-core/lib/builtin/MarkdownPod.js:118:48)
        at MarkdownImportPod.plant (/usr/local/lib/node_modules/@dendronhq/dendron-cli/node_modules/@dendronhq/pods-core/lib/builtin/MarkdownPod.js:335:47)
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async ImportPodCLICommand.execute (/usr/local/lib/node_modules/@dendronhq/dendron-cli/lib/src/commands/importPod.js:36:9)
        at async CLICommand.eval [as handler] (/usr/local/lib/node_modules/@dendronhq/dendron-cli/lib/src/commands/base.js:58:25)
    I think I need to debug it on my own why entries is undefined. Do you know btw if the recommended way to get the right code is checking out the latest release tag?
    j
    • 2
    • 2
  • j

    Joshi

    10/21/2022, 8:18 AM
    Import markdown
  • c

    cameron

    10/21/2022, 5:11 PM
    Was the publish config for mermaid syntax ( diagrams) removed or renamed? https://wiki.dendron.so/notes/ba97866b-889f-4ac6-86e7-bb2d97f6e376/#diagrams links to https://wiki.dendron.so/notes/f83c1d87-eac0-48f3-a5cf-8a69989d8ec1/#mermaid-optional, but the heading no longer exists. (For reference, I have a demo page which renders the diagrams in local preview, but not when published using
    dendron-cli@0.115.1
    , and would like to enable the proper setting https://notes.serendipidata.com/notes/95faf712-c45d-43b7-bd21-5f82caca085d/ )
  • k

    kevins8

    10/21/2022, 5:13 PM
    it was removed because its now on by default. can you make sure you're using both the latest version of the CLI as well as the template?
  • c

    cameron

    10/21/2022, 5:20 PM
    I build the site in netlify where the only dependency I set is this (
    dendron-cli@0.115.1
    ) (here's a picture of what the lockfile shows). Is there a way to change or check the version of the template that the dendron-cli is using? ( I see https://github.com/dendronhq/dendron/tree/master/packages/nextjs-template exists, but am not sure how the CLI is able to designate this as a dependency, since the template doesn't seem to have its own package name on npm).
    k
    • 2
    • 5
  • c

    cameron

    10/21/2022, 5:25 PM
    As a separate note, I've noticed a few sites use the pattern where they console log or display in the UI the version or latest git hash of the code for the published site to help with triaging this type of problem. If this type of investigative step is common (figuring out what version of dendron template is used in a published site), I would be happy to try to open a PR to log the template version in the console or as a comment in the site footer.
  • a

    Acedia

    10/21/2022, 6:00 PM
    Is it possible to use file names delimited by hyphens instead of dots? Are there any plans on allowing this? Most file-naming conventions don’t allow dots in file names, except for the one preceding the extension.
  • a

    Acedia

    10/21/2022, 6:02 PM
    I didn’t mean to use Statbot. I’m sorry if everyone can see it.
  • k

    kevins8

    10/21/2022, 7:07 PM
    it should be possible though dendron won't see it as a hierarchy
  • k

    kevins8

    10/21/2022, 7:08 PM
    all good
  • k

    kevins8

    10/21/2022, 7:09 PM
    mermaid in published site
  • j

    jeep

    10/22/2022, 1:26 PM
    Did something change in the wiki recently? I'm getting "a client-side exception has occurred"
    k
    n
    • 3
    • 6
  • j

    jeep

    10/22/2022, 1:28 PM
    https://gist.github.com/jeep/b9fda0ec87ccca5a9dc6786d138e73d9
  • j

    jeep

    10/22/2022, 1:39 PM
    It appears to be working again
  • j

    jeep

    10/22/2022, 1:40 PM
    And now broken. 😦
  • s

    seadude

    10/22/2022, 4:48 PM
    Hello, How do I format another datatype within a Dendron .md file? **Example**: 1. Lookup (
    CTRL+i
    ) a new file called
    samples.x.json
    which creates
    samples.x.json.md
    2. Paste in some JSON data I typically have to create a new
    sample.x.json
    file in
    vault/assets/json
    , paste the data there then format it, copy it, and paste it into
    samples.x.json.md
    I want to be able to add some markdown around this JSON in
    samples.x.json.md
    . It would be nice to...select the JSON, right click,
    Format Document
    or the like This doesn't work. I'm sure I'm doing this the hard way! Thoughts on how to accomplish this easy?
    k
    • 2
    • 3
  • m

    Mat

    10/22/2022, 6:59 PM
    If I understood you correctly: Extensions like "Prettier" (https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) can format stuff inside of markdown codeblocks. But if you want to keep doing it manually you don't even have to create a new file to format code snippets.
    Ctrl+N
    opens an empty note, paste your code, set language for instance to
    json
    , and then
    Alt+Shift+F
    formats the content.
  • l

    LividJava

    10/22/2022, 9:35 PM
    Hey what's the recommended icon size for published sites?
    k
    • 2
    • 6
  • l

    LividJava

    10/22/2022, 9:39 PM
    i figure its somewhere around either 1024, 512, or 256 but needs to be 1:1
  • c

    cameron

    10/23/2022, 2:39 AM
    (low priority) Is it possible to tell Dendron that certain vaults should be excluded from publishing? I noticed that my dendron build in CI is throwing (harmless but wordy) warnings because it can't find my local private vault (which isn't checked into Github). While my notes are safe, it creates noise in the build logs. I don't see anything related under https://wiki.dendron.so/notes/fabYbPyk3DMCMoG92lIrq/ . Currently all the hierarchies I publish are explicitly designated in my git-backed non-private vault, but it seems that the dendron export command was still trying to build metadata for pages that aren't going to be published.
    k
    • 2
    • 2
  • d

    Drakes

    10/23/2022, 5:07 AM
    I scheduled an onboarding session, but lost the link to the survey I was supposed to fill out beforehand - I got the link from a popup in vscode which closed. Is there anyway I can cancel the scheduled session or get another link to the survey beforehand?
  • b

    Bedstorm

    10/23/2022, 12:59 PM
    can confirm, been getting this error often on the wiki. seems to persist on my phone browser, though refreshing fixes it on windows
  • z

    Z3r0(00L

    10/23/2022, 2:04 PM
    Why am i getting this error everytime i open dendron ?
  • s

    seadude

    10/23/2022, 4:13 PM
    Will it ever be possible to execute code directly in a Dendron markdown file? I'm unsure if that is being worked on as an enhancement or whether its not possible.
    k
    f
    c
    • 4
    • 11
  • s

    seadude

    10/23/2022, 4:17 PM
    I find myself writing notes about a programming language, with
    Copy code
    snippets in the markdown
    but linking to say, an .ipynb file to actually execute the snippets.
  • s

    seadude

    10/23/2022, 4:18 PM
    Would be sweet to have the code execute directly in the local docs rather than maintain two (or more) references. I'm sure it wouldn't work for remote versions of the docs.
  • k

    kevins8

    10/23/2022, 5:01 PM
    intermittend issues with wiki
  • k

    kevins8

    10/23/2022, 5:06 PM
    format another data type
1...721722723...757Latest