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

    d1onys1us

    09/06/2022, 2:09 PM
    how can i either pick a select few hierarchies, or omit a select few from the sidebar / published site?
  • d

    d1onys1us

    09/07/2022, 1:36 AM
    i think i found what i wanted ^ going to use siteIndex
  • k

    kevins8

    09/07/2022, 2:03 AM
    publishing using select hierarchies
  • k

    kevins8

    09/07/2022, 2:04 AM
    ah, yep
  • n

    nsmmrs

    09/07/2022, 3:59 AM
    I've been reading the wiki, and noticed that the examples of other published vaults run really slowly (especially the re-loading of the sidebar).
  • n

    nsmmrs

    09/07/2022, 4:00 AM
    Is this just an outdated, badly-optimized publishing theme? https://aws.dendron.so/
  • n

    nsmmrs

    09/07/2022, 4:02 AM
    The Dendron wiki itself feels much better. Many page loads feel instant; I've seen the sidebar get redrawn, but it's not on every page load (or at least it doesn't feel like it).
  • h

    hikchoi

    09/07/2022, 4:02 AM
    Ah yes, this is published using 11ty which is our legacy publishing method. We should update that 😅
  • n

    nsmmrs

    09/07/2022, 4:03 AM
    Ah, got it. I saw an article about that, but hadn't read it.
  • n

    nsmmrs

    09/07/2022, 4:05 AM
    Is the site-generation totally custom now, or does it use something like Hugo under the hood?
  • h

    hikchoi

    09/07/2022, 4:08 AM
    We use NextJS. Note content is statically generated during publishing.
  • d

    d1onys1us

    09/07/2022, 3:22 PM
    hmm i'm not sure what's going on here, my pdf document link is always showing (private), i think its due to 404 / not found. i am trying to link to a pdf in assets/documents/something.pdf like [[some pdf|assets/documents/something.pdf]]
  • d

    d1onys1us

    09/07/2022, 3:24 PM
    but if i do a regular markdown link like [some pdf](assets/documents/something.pdf), i'm not sure if this will correctly do an assetsPrefix for the published site
  • k

    kevins8

    09/07/2022, 4:42 PM
    @hikchoi is currently looking into asset links being marked as not found locally. this might be related ☝️
  • h

    hikchoi

    09/07/2022, 10:26 PM
    This is actually a separate problem from what @kevins8 is describing. Can you submit an issue for this?
  • h

    hikchoi

    09/08/2022, 2:54 AM
    Just a heads up: a fix will go out next week that will correctly add the
    assetsPrefix
    to regular markdown links. I'll report back on the issue with asset wikilinks showing up as private.
  • s

    Streetlamp

    09/08/2022, 8:39 AM
    I'm using dendron to write notes while learning python. Is there a way for me to directly link python files (.py) in the note?
  • s

    Streetlamp

    09/08/2022, 8:42 AM
    nvm found it
  • v

    vulfypeck

    09/08/2022, 1:44 PM
    mind sharing what you found? 🙂
  • s

    Streetlamp

    09/08/2022, 4:56 PM
    https://wiki.dendron.so/notes/lzviz9odglotrbsgcp678i6/
    Copy code
    Automatically creating file links
    
    The easiest way to link to a file is using the Copy Note Link command, which will automatically create a link for you.
    
    Similar to notes, Copy Note Link command will create a Block Anchors for you if you have a region of text selected.
    Manually creating file links
    
    To manually create file links, you need to write the relative path to the file in a Wiki Link
    
    The path should be relative to where your dendron.yml file is located.
    
    For example, if the root of your workspace contains dendron.yml and a folder called src in your project, you can write [[src/index.js]].
    
    Alternatively, if you are linking to a file inside the assets folder of a vault, you can type [[assets/example.py]] to link to it.
  • s

    Streetlamp

    09/08/2022, 4:57 PM
    Although I would have loved it if showing a preview of a file when linked was possible (preview for linking notes is great)
  • k

    KiloJon

    09/08/2022, 6:10 PM
    any suggestions? i am looking for the configuration of the #TODO tag: - inconsistent recognition of hex colors (1 of 6 but not important) - but dendron did not recognize todo+TAB (for the last few weeks) - and check boxes won't toggle in preview (worked around with todTAB code snippet) todo+TAB started working right after making this screen clip - so I looked for whether multiple ~.code-snippets are in use ![](/assets/images/2022-09-08-12-05-02.png) - /Users//Dendron/seeds/dendron.templates/templates/.vscode/dendron.code-snippets - /Users//Dendron/seeds/dendron.tldr/vault/.vscode/dendron.code-snippets - /Users//Dendron/notes/.vscode/dendron.code-snippets - Configure code snippets ![](/assets/images/2022-09-08-12-48-25.png) daily✓
  • u

    urandom

    09/09/2022, 4:01 AM
    Noticed three behaviors when adding custom frontmatter (in those case for a user note). I added:
    Copy code
    team: [[$work.team.$team]]
    role: '$role'
    manager: @name
    The three behaviors: 1.
    Go To
    works on the link to the note 2. Those links aren’t picked up as backlinks 3. The note preview hangs due to the
    @name
    Is this an invalid use case for frontmatter? I can see why it doesn’t pickup backlinks since it’s not in the actual text of a note (though #3 is a little surprising). Not sure why, but I just feel like putting that in frontmatter rather than in a section under a subheading. But of course if it’s not an appropriate use of frontmatter, I’ll compromise.
  • h

    hikchoi

    09/09/2022, 4:57 AM
    @
    cannot come at the front of a plain value in yaml (frontmatter), that is why
    @name
    is causing the note preview to not work.
  • h

    hikchoi

    09/09/2022, 5:00 AM
    You are correct in that Dendron doesn't pick up links in frontmatter as backlinks. We only look at the body of the note for them. If you would like the links in frontmatter to also picked up, could you create a feature request for it?: https://github.com/dendronhq/dendron/issues/new?assignees=&labels=&template=feature_request.md&title=
  • h

    hikchoi

    09/09/2022, 5:03 AM
    If you still prefer to have it in frontmatter, you could add it as a wikilink like
    manager: [[user.name]]
    . Unfortunately as of right now there's no way around with the rules with yaml specification that the reserved character
    @
    cannot come first in plain values, so this is the closest thing you can do.
  • u

    urandom

    09/09/2022, 2:24 PM
    Sure thing!
  • u

    urandom

    09/09/2022, 2:27 PM
    Yep that was going to be my workaround for it. It honestly didn’t occur to me that it’s due to the yaml spec. Appreciate the responses/clarification.
  • t

    Tanamr

    09/09/2022, 2:49 PM
    um. I made a meeting note and Dendron seems to have created a
    templates.meet
    ? I already have a meeting note template at
    dendron.templates.meet
  • k

    kevins8

    09/09/2022, 2:55 PM
    @hikchoi ☝️is this related to the updated template default?
1...699700701...757Latest