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

    pcgeek86

    02/22/2022, 5:49 PM
    Is there any documentation showing how to insert JS ads (ie. Adsense) into Dendron notes? Googling for
    dendron embed ads
    doesn't turn up anything. Same for
    import js dendron
    .
  • s

    SeriousBug

    02/22/2022, 5:50 PM
    You don't have to have any schemas, you can create notes anywhere you want. Schemas are only there to help if you want it.
  • s

    SeriousBug

    02/22/2022, 5:51 PM
    You can insert HTML into your notes. I'm not sure if there's a way to add it for all your notes though.
  • p

    pcgeek86

    02/22/2022, 5:58 PM
    Will that execute
    <script>
    tags and import the JS from embedded scripts or scripts hosted on a third-party service?
  • s

    SeriousBug

    02/22/2022, 6:02 PM
    I think so, I don't believe there are any limitations on it.
  • k

    kevins8

    02/22/2022, 6:10 PM
    we support a
    customHeader
    prop that you can use to add arbitrary css/js to your published site -> https://wiki.dendron.so/notes/f2ed8639-a604-4a9d-b76c-41e205fb8713.html#customheaderpath
  • j

    josh

    02/22/2022, 6:49 PM
    anybody know if this is possible? I don't want to rename my notes, and afaik I can only sort it on the topmost level using
    siteHierarchies
  • x

    xg

    02/22/2022, 7:38 PM
    I'm using Dendron on a Mac (Monterey) and for some reason Cmd+h (hide app) does not work if Dendron is the current VSCode window. It works from other VSCode windows. Is there a fix? I tried searching discord for "mac" but none of those messages mentioned this.
    k
    • 2
    • 7
  • a

    andrey-jef

    02/22/2022, 8:30 PM
    I know only this config param which was marked as to be deprecated https://wiki.dendron.so/notes/5f23182f-2936-4790-8d04-00bd502df723/
  • s

    SeriousBug

    02/22/2022, 8:49 PM
    The
    nav_order
    property on the page @andrey-jef linked is the way to go, that setting is not deprecated. You add it to the frontmatter of the notes.
  • j

    josh

    02/22/2022, 9:02 PM
    perfect, thanks!
  • x

    xg

    02/22/2022, 9:51 PM
    I'm trying to figure out how file names, note titles and note ids are used in Dendron mostly to better understand how to use/abuse Dendron. Questions - What breaks if I rename a note outside Dendron? Is there a command that can be run to "fix" a vault if I have done this? E.g. using cached information about the notes (i.e. look for note id, look for notes that link to note id, change links) - What breaks if I create a note in my vault from outside Dendron? Is there a command that "imports" new notes? - What breaks if a note id is changed? Here is what I sort of gathered from various pages on the wiki: - **filenames**: I understand that filenames are used for lookup and hierarchy. But also for links. Anything else? - **note titles**: Am I correct that in assuming that note titles are purely cosmetic? - **note ids**: I skimmed through the Lifecycle page and video and if I understand correctly, the note id is used as the
    key
    for the notes dictionary. If this information is on the wiki I've not been able to find it. Sorry for the dense question 🙂
  • s

    SeriousBug

    02/22/2022, 10:11 PM
    - You can add, delete, or rename notes outside Dendron. If Dendron is running, it watches for file changes to detect these. If Dendron is not running, it will read all the files at startup and see the change. The only caveat is that existing links won't automatically update like when you use the rename note command. - You can change note IDs as well. The only requirement is that they have to be unique, so something like nanoid or UUID works well. It's also recommended to use ids that are "url safe" because they are also used in published website urls. File names are used for the hierarchies. Note titles are cosmetic, it's just like adding
    # title
    to the start of your note except that it's used in a few other places like published page titles and link titles. Note IDs are used to uniquely identify notes inside Dendron, a lot of code uses IDs to say "this note exactly".
  • x

    xg

    02/22/2022, 10:16 PM
    Thank you for the informative reply, makes things much clearer!
  • k

    kzilla

    02/22/2022, 10:28 PM
    I'm trying to use pandoc to publish to pdf. I don't see "dendron.md" as show in your steps when I select Publish Pod (ctrl+shift+P => Dendron: Publish Pod)
  • k

    kevins8

    02/23/2022, 12:16 AM
    it should be labelled
    dendron.markdown
  • x

    Xanaus

    02/23/2022, 2:03 AM
    in line 37 and 38 i use
    -
    for the bullet point but get numbered list is this a bug or am i doing it wrong?
  • x

    Xanaus

    02/23/2022, 2:05 AM
    Whats the usecase of dendron snippit extension?
  • v

    vishal.gandhi

    02/23/2022, 2:48 AM
    Dendron note CLI
  • s

    Saine

    02/23/2022, 6:44 AM
    is this normal?
    Copy code
    + @dendronhq/dendron-cli@0.83.0
    added 646 packages from 516 contributors and audited 647 packages in 220.737s
    
    147 packages are looking for funding
      run `npm fund` for details
    
    found 12 vulnerabilities (4 low, 8 high)
      run `npm audit fix` to fix them, or `npm audit` for details
  • s

    SeriousBug

    02/23/2022, 6:56 AM
    Yes, NPM's vulnerability warnings are effectively meaningless. You can read more about it here: https://overreacted.io/npm-audit-broken-by-design/
  • s

    Saine

    02/23/2022, 7:13 AM
    there is no
    site:
    in my yaml. neither something with
    url
    in it
    Copy code
    Configure your notes for publication
    In order for to build your notes for publication, open the command prompt and type >Dendron: Configure (yaml)
    Make the following modification under site:
  • j

    Joshi

    02/23/2022, 7:17 AM
    Looks like the docs needs to be updated with reference to version 5 config. Can you try updating under
    publishing
    ? For reference, you can see the dendron.yml of `dendron-site`: https://github.com/dendronhq/dendron-site/blob/master/dendron.yml
  • h

    hikchoi

    02/23/2022, 9:08 AM
    Sorry about this. With 0.83.0 we migrated everything underin
    site
    to an new namespace
    publishing
    , but the guides for publishing hasn't updated yet. We'll make sure the remaining guides are referencing the up to date configs, but for the time being here are all the current publishing related configurations: https://wiki.dendron.so/notes/q960Z622o0RLO32w0B8SP/
  • p

    Paul_J

    02/23/2022, 9:53 AM
    I have a workflow that starts VS code from another app. I get an untitled file which I want to attach as a child to the daily journal note. typically I would create a child by renaming the journal note an adding an extra .'qualifier'.md at the end. because I'm renaming the journal note I get all of the prefix daily.journal.2022.02.22 for free - however when I start form an empty file all I get is "untitled-1". any ideas to make this a bit more streamlined?
  • m

    mihaiconstantin

    02/23/2022, 10:40 AM
    Thanks @User and @User for clarifying this!
  • f

    fudo

    02/23/2022, 10:41 AM
    Question which tool do you use? and how are you doing it atm
  • h

    Hawk

    02/23/2022, 1:15 PM
    Is there a way to fix the wrong alignment on the preview of math big parenthesis such as this:
  • c

    Chairos

    02/23/2022, 1:32 PM
    Hello everyone, probably stupid question here, but I never know 😄 When i try to do Dendron: Export pod > dendron.markdown the notes hierarchy links (for example, if I have a link in a note like [text](/dendron.text.md) won't be converted to [text](/dendron/text.md) is there any way to automate that? Since manually writing the path could easily lead to errors.
  • b

    Bassmann

    02/23/2022, 1:52 PM
    I haven't checked but according to the change log this should have been fixed in 0.83
1...554555556...757Latest