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

    foureyedsoul

    03/13/2022, 6:22 PM
    It surprised me at first, too, but it lets you use both the "backlinks" pane and the "graph view" to see connections. I've come around to really liking this approach, personally. Especially because you can refactor the name of the tag and it will update everywhere you've used it, like with all other notes.
  • f

    foureyedsoul

    03/13/2022, 7:54 PM
    Finally found the documentation page about this. Maybe it'll help, @User ? https://wiki.dendron.so/notes/8bc9b3f1-8508-4d3a-a2de-be9f12ef1821/
  • s

    Saine

    03/13/2022, 7:55 PM
    I've already read it and no. Your first comment was more helpful
  • a

    andrey-jef

    03/14/2022, 1:11 AM
    when appending the css properties to an image, instead of applying the properties, Dendron shows the css text next to image. This error happens only with a specific url. Is this due to the format of the specific url? Here is my note with the embedded image url
    Copy code
    markdown
    Example
    ![example-current-liabilities](https://www.investopedia.com/thmb/aEVczlh4Rlnoc7CD-tyvgOKJW0g=/660x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/dotdash_Final_Current_Liabilities_Sep_2020-01-6515e265cfd34787ae2b0a30e9f1ccc8.jpg){max-width: 300px, display: block, margin: 0 auto}
  • s

    SeriousBug

    03/14/2022, 1:12 AM
    I think the margin is breaking it, can you wrap the value part with quotes? Like
    margin: "0 auto"
    .
  • a

    andrey-jef

    03/14/2022, 1:16 AM
    Hi. It doesn't change 🙂 tested by wrapping all value
    Copy code
    css
    {max-width: "300px", display: "block", margin: "0 auto"}
  • s

    SeriousBug

    03/14/2022, 1:17 AM
    Hmm, what if you also wrap the key "max-width"? (I'm not at my desk at the moment, if that doesn't work too I'll take a look on Monday)
  • a

    andrey-jef

    03/14/2022, 1:24 AM
    yeah. no need to haste. just say that it doesn't work by also wrapping the key.
    Copy code
    css
    {"max-width": "300px", display: "block", margin: "0 auto"}
    imho, the way markdown parse that specific url of image cause the mismatched behavior, since it's fine with other url I used.
  • s

    SeriousBug

    03/14/2022, 1:26 AM
    Oh you're right, the `()`s in the url must be throwing off our extended image parser, so it falls back to the default parser which doesn't have the extended properties. Would you mind sending a bug report about this? I'll work on a fix for it.
  • a

    andrey-jef

    03/14/2022, 1:46 AM
    just fyi https://github.com/dendronhq/dendron/issues/2564
  • a

    aleksey

    03/14/2022, 2:43 AM
    Is it possible to use variables in keybindings? I would love to have a command to open a daily note for the current month/year. Something like:
    Copy code
    json
    {
        "key": "{desired keybinding}",
        "command": "dendron.lookupNote",
        "args": {
          "initialValue": "daily.journal.{{current-year}}.{{current-month}}" 
        }
      }
  • h

    hikchoi

    03/14/2022, 3:09 AM
    This isn't possible with plain keybinding settings but it may be possible to create a vscode task (https://code.visualstudio.com/docs/editor/tasks#_custom-tasks) and then assigning a keybinding for that instead. tasks do support variable substitution but I'm not sure if it supports date strings.
  • a

    aleksey

    03/14/2022, 3:12 AM
    Thanks, I'll check it out!
  • k

    kevins8

    03/14/2022, 3:17 AM
    you should be able to create a custom note trait to do this https://wiki.dendron.so/notes/EQoaBI8A0ZcswKQC3UMpO/
  • h

    hikchoi

    03/14/2022, 3:25 AM
    a much better solution 😅 I just tested out what I suggested and it doesn't seem trivial to do it (if at all)
  • j

    jhoang.eth

    03/14/2022, 5:40 AM
    hi, I'm trying to link two notes. I highlighted the portion and used ctrl + shift + r to make block anchors but I get this error. Start anchor ^53lj1gulg6nb not found. Any fixes? Thanks.
  • h

    hikchoi

    03/14/2022, 7:14 AM
    Can you try again and run
    Dendron:Dev: Diagnostics Report
    right after? It will open up the logs and you can share the content of that if it doesn't contain anything confidential.
  • a

    aleksey

    03/14/2022, 1:28 PM
    @User @User Could you please elaborate? I'm not sure how traits will help in this case. As far as I understand, there are only two hooks right now:
    onwillcreate
    and
    willcreate
    . But I'm not trying to create a new note, just open an existing one.
    k
    • 2
    • 2
  • r

    random geek

    03/14/2022, 2:18 PM
    Has anybody out there incorporated Dendron into a CLI workflow? Ideally I'm thinking something like what Joplin has done with their terminal app, but workarounds via Neovim /
    $EDITOR
    plugins and shell scripts would suffice. https://joplinapp.org/terminal/
  • f

    fudo

    03/14/2022, 2:22 PM
    Yes some have at least tried, and I'm one of them xD and I know some have talked about it here on Discord just can't find the references right now.
  • r

    random geek

    03/14/2022, 2:25 PM
    It's promising that it's even been mentioned before! I have a lot of learning to do before I can contribute meaningfully to the effort, but I'll be sure to share any notes I put together.
  • g

    grndstt

    03/14/2022, 4:00 PM
    Hi all ! I remeber a selective publication option which allowed to have unpublished lines in a dendron note.
  • g

    grndstt

    03/14/2022, 4:00 PM
    I can't find this anymore in the docs (https://wiki.dendron.so/notes/c93938a4-0938-49d0-aca2-00e624793650/)
  • g

    grndstt

    03/14/2022, 4:00 PM
    Has this been deprecated ?
  • j

    Joshi

    03/14/2022, 4:10 PM
    With the latest config, selective publishing is now configurable with
    hierarchy
    option under
    publishing
    namespace. More info here: https://wiki.dendron.so/notes/fabYbPyk3DMCMoG92lIrq/#site-properties
  • g

    grndstt

    03/14/2022, 4:12 PM
    ok but this feature was to retain a single line from publication (e.g. a password, sshkey etc)
  • g

    grndstt

    03/14/2022, 4:12 PM
    is this still possible ?
  • j

    Joshi

    03/14/2022, 5:24 PM
    no, it is not supported in the new publishing
  • g

    grndstt

    03/14/2022, 5:25 PM
    too bad. this was a really convenient feature
  • j

    Joshi

    03/14/2022, 5:26 PM
    Feel free to submit a feature request and we can track it in our roadmap: https://github.com/dendronhq/dendron/issues/new?assignees=&labels=&template=feature_request.md&title=
1...567568569...757Latest