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

    kevins8

    09/14/2022, 4:05 PM
    its available - you might just have to add the key in yourself if you're upgrading from an older version
  • e

    Eddy

    09/14/2022, 4:25 PM
    oh okay, right. sorry, a bit scared to fiddle around with yml as i dont really know it that well
  • e

    Eddy

    09/14/2022, 4:25 PM
    ill give it a shot
  • s

    Streetlamp

    09/15/2022, 1:47 AM
    is there a way to create a list that links to all block anchors (e.g. Chapter 01^chapter-01) inside a note?
  • s

    Streetlamp

    09/15/2022, 1:48 AM
    I would love to have like a mini table of contents inside a note
  • c

    ccamara

    09/15/2022, 7:32 AM
    I have a question on publishing notes on localhost. I'd like to publish my notes, but I can't do it on github or netlify as they contain sensitive data. Instead, I need to push them to my organisation's repo, but we do not have CI, so I cannot deploy them either github pages or gitlab pages or netlify. I believe my only option is to publish it locally and then push the published site (ideally, on another branch, and ideally -although I've never worked with them, automated using git hooks). According to this cookbook on publishing locally https://wiki.dendron.so/notes/svoot2ea4v5imu6rdrwuwmu/ , creating a local copy should be straightforward: running
    npx dendron publish build
    & then
    npx dendron publish export
    . Regreftully, when I check on
    ./next/out/
    I can see the files, but the website doesn't have CSS applied and the links are broken. What am I missing?
  • c

    ccamara

    09/15/2022, 7:37 AM
    Oh, I'm so ashamed! There were two extra steps missing! (running `cd .next && npm run build`and then
    npm run start
    ). Still, I can't figure out where the local copy is
  • c

    ccamara

    09/15/2022, 7:39 AM
    Also, I'm confused, because reading from the docs,
    dendron publish export
    should generate the local copy of the website, which is what I'm looking for
  • r

    rlh1994

    09/15/2022, 7:49 AM
    It should be dendron publish export to generate the site as you said, however you need to set up some of the config stuff so that it correctly points to the CSS (and this means it will either work on GH pages or locally but won't work on both) https://wiki.dendron.so/notes/fabYbPyk3DMCMoG92lIrq/
  • c

    ccamara

    09/15/2022, 7:57 AM
    Oh, I see
  • c

    ccamara

    09/15/2022, 7:59 AM
    My plan is not as flawless as I'd thought
  • c

    ccamara

    09/15/2022, 8:42 AM
    I'm confused about
    siteRootDir
    . I see by default is under `docs/`folder, but I'd like it to be the root. dendron publish would complain in any of these options: *
    siteRootDir: .
    *
    siteRootDir: /
  • j

    jyeung

    09/15/2022, 9:42 AM
    I think
    siteRootDir
    is a little bit broken right now.. is using a
    docs
    folder problematic? (we should try to fix the issue apologies)
  • c

    ccamara

    09/15/2022, 10:21 AM
    Disclaimer, I do not fully understand what it does, but it might be a problem for me, yes. Given that I do not have any runners on my github enterprise, I was trying to 1. generate the static website locally (by running
    dendron publish export
    2. copying the output from
    .next/out
    to
    docs/
    ) 3. configuring gh-pages to read the content from `docs/`folder in main branch. Regretfully, the site is not working (doesn't show CSS, no JS, links are broken) after having set up my
    siteUrl:
    to be the same url that is generated by gh pages:
    https://pages.github.<domain>/<group>/<repo_name>/
    . I suspect that the problem might be that
    siteRootDir
    pointing to docs may be causing it, as there's no docs within docs folder.
    j
    r
    k
    • 4
    • 46
  • j

    jyeung

    09/15/2022, 10:35 AM
    Local Publishing Issue
  • m

    Maned

    09/15/2022, 11:40 AM
    I want to write documentation for a code respository, and wanted to use dendron for it. My idea would have been to have a directory inside my repo named
    doc
    where all the dendron notes would be inside, with explanation and documentation to the repositroy. Is this the way I could manage it? Am I missing something? I hope I didn't overlook anything, and I'd rather ask than risk something.
  • h

    hikchoi

    09/15/2022, 11:44 AM
    Yup. you can do this with native workspaces
  • m

    Maned

    09/15/2022, 11:45 AM
    awesome, good to know, thank you.
  • j

    jyeung

    09/15/2022, 11:57 AM
    Hi - not possible right now unfortunately. The only thing you can kinda do in this regard is either across multiple notes as children and use
    Insert Note Index
    , or else across markdown header levels and use the outline view in vs code
  • s

    Streetlamp

    09/15/2022, 12:49 PM
    outline view should be good enough for now. I'll try to utilize children notes more in the future.
  • a

    andrey-jef

    09/15/2022, 10:45 PM
    Can we apply css to a mermaid diagram in a Dendron-published page? Similar to the way Dendron resize and positioning an image with css? https://wiki.dendron.so/notes/a91fd8da-6895-49fe-8164-a17acd8d9a17/
  • c

    CliftonFoster

    09/15/2022, 11:21 PM
    I understand the purpose of the + in the tree view representing a stub. But is it possible to remove this symbol in the tree view? I think it just clutters things? Thanks.
  • j

    jyeung

    09/16/2022, 1:45 AM
    We've been thinking about some UI / functionality cleanup on the tree view, and that is one of things being discussed. I'll take this as an upvote 🙂
  • j

    Jhinox

    09/16/2022, 1:58 AM
    Hello there, Is it planned to have a reactive table creation experience like the one in Obsidian?, where pressing Tab for example creates a new column in the line
  • j

    jyeung

    09/16/2022, 3:33 AM
    We have plans for a WYSIWYG editor down the line that can provide this capability. For now, you can try this extension which helps with working w/ tables in markdown: https://marketplace.visualstudio.com/items?itemName=RomanPeshkov.vscode-text-tables
  • r

    rlh1994

    09/16/2022, 2:23 PM
    Can you have a note title as a backticked text? I can do it with every other header but can't work out what escape I need to get the title to be
  • k

    kevins8

    09/16/2022, 4:32 PM
    do you mean something like
    Copy code
    yml
    title: |-
        `Foo`
  • k

    kevins8

    09/16/2022, 4:33 PM
    ?
  • r

    rlh1994

    09/16/2022, 4:33 PM
    You always answer right as I shut my laptop 😂 but if that previews as "code" then yep 👍
  • k

    kamrajkai

    09/16/2022, 4:36 PM
    How to sync with phone
1...701702703...757Latest