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

    kevins8

    04/08/2022, 10:43 PM
    we had someone that did this using a launchbar app. dendron has a local API that is not officially documented 😅 the easiest way today to do this is to read the
    $vault/.dendron.cache.json
    file which is located inside your vault. it has metadata for all your notes you can see the docs here: [Note Props](https://docs.dendron.so/notes/IZGHxY9fuIPdj2oN7dyd1)
  • a

    alexis<3

    04/08/2022, 10:55 PM
    ok cool i will look there! i have a lot of automations for dealing with jira tickets and would love automating say note creation when i start progressing a task
  • k

    kfischer_okarin

    04/09/2022, 1:11 AM
    Is there a way to just attach a file to your note via the VS Code file selection dialog? And then it will be inserted automatically into your assets folder? I know you can paste images...
  • s

    SeriousBug

    04/09/2022, 1:12 AM
    Not on my PC right now, but I think there's also a paste file command. (I know, not what you exactly wanted)
  • k

    kfischer_okarin

    04/09/2022, 1:12 AM
    Yes but you have to type the path 😅
  • s

    SeriousBug

    04/09/2022, 1:13 AM
    If you copy the file (say, select on your desktop then Ctrl+C) I think it automatically picks that up. But please do send a feature request to have copy file have the file picker!
  • k

    kfischer_okarin

    04/09/2022, 1:28 AM
    I tried writing an issue for that https://github.com/dendronhq/dendron/issues/2718
  • s

    SeriousBug

    04/09/2022, 1:28 AM
    Looks good, thank you!
  • e

    Elixy

    04/09/2022, 3:09 AM
    newbie question. I created my first {schema}.yml file. extension shows it's valid. But doesn't seem to be applied to existing notes or even new notes. most notable is the descriptions aren't showing up Is there a way to push updates made to config files, restarting VS code doesn't seem to do it either
  • s

    SeriousBug

    04/09/2022, 3:11 AM
    Could you share the schema, and an example of what you want it to apply to? The extension is a bit lenient on what schemas it will accept, so it might just not match
  • e

    Elixy

    04/09/2022, 3:12 AM
    Copy code
    version: 1
    import: []
    schemas:
      - id: lang
        title: lang
        desc: ""
        parent: root
        namespace: true
        children:
          - javascript
          - pwsh
          - html
          - css
      - id: javascript
        title: javascript
        desc: javascript language reference
        namespace: true
        children:
          - packages
      - id: packages
        title: packages
        desc: javascript packages
        namespace: true
      - id: pwsh
        title: powershell
        desc: powershell language reference
        namespace: true
      - id: html
        title: html
        desc: html language reference
        namespace: true
      - id: css
        title: css
        desc: css language reference
        namespace: true
  • e

    Elixy

    04/09/2022, 3:13 AM
    so regardless if the note exists or not. The 'desc' value isn't being applied in the Frontmatter section of the note
  • s

    SeriousBug

    04/09/2022, 3:13 AM
    namespace: true
    means it can have any children, and the stuff listed under
    children
    are grandchildren. So this would match
    lang.whatever.javascript.whatever.packages
    . Could you try with the 'namespace: true` removed?
  • s

    SeriousBug

    04/09/2022, 3:14 AM
    The
    desc
    is the description of the schema itself, if you want to add
    desc
    to the note you need to set a template. You can put stuff in the frontmatter of the template, and it will apply
  • e

    Elixy

    04/09/2022, 3:14 AM
    interesting. I must of misunderstood something when I was looking at examples
  • s

    SeriousBug

    04/09/2022, 3:15 AM
    Here's more about templates: https://wiki.dendron.so/notes/861cbdf8-102e-4633-9933-1f3d74df53d2/
  • e

    Elixy

    04/09/2022, 3:17 AM
    Oh ok, yeah I removed the
    namespace: true
    from everything , and I can see where that's supposed to work.
  • e

    Elixy

    04/09/2022, 3:18 AM
    I appreciate it.
  • e

    Elixy

    04/09/2022, 3:22 AM
    So
    namespace:true
    pushes any named children down a level? making them grandchildren
  • s

    SeriousBug

    04/09/2022, 3:47 AM
    Yup, it's same as having a single child that has the pattern
    *
    that then has all those children instead
  • m

    mihaiconstantin

    04/09/2022, 10:23 AM
    I was wondering whether the idea of showing link previews (e.g., like in the screenshot) in the Note Preview panel has been floated around before? For example, I think Notion does this quite well. Would it be even possible or does VSCode prevent loading dynamic content in the viewer?
  • k

    kevins8

    04/09/2022, 2:50 PM
    yep, its possible. vscode has a
    custom editor
    api (https://code.visualstudio.com/api/extension-guides/custom-editors) that allows us to render rich text while preserving the editor capabilities of the code editor
  • x

    xyz

    04/09/2022, 5:15 PM
    Hi. I have a question about publishing. Is it possible to limit publishing to only a specific node and its children instead of publishing the whole vault? For example I have two major nodes at the root; one private and one public. I want to publish only the public node and all its children. Thanks.
  • s

    SeriousBug

    04/09/2022, 5:17 PM
    Yes, you can control that with
    siteHierarchies
    https://wiki.dendron.so/notes/8Qpabm7YvMzxJ7Xs5uFU9/
  • x

    xyz

    04/09/2022, 5:25 PM
    I usually export my markdown pages as pdf and then study them. Is there any way to do that in Dendron? I mean a way to export a node and all its children as a single pdf file. Each child node can be added as a bookmark and the child nodes can be ordered according to their date of creation.
  • k

    kevins8

    04/09/2022, 5:32 PM
    not quite. you can use [Markdown Export Pod](https://wiki.dendron.so/notes/Un0n1ql7LfvMtmA9JEi4n.html) to export a particular hierarchy and use something like
    pandoc
    to convert it all to a pdf
  • x

    xyz

    04/09/2022, 5:50 PM
    This is strange. The graph shows that the green node (Limit Access) is a child of TWO other nodes. The correct parent should be only "ASP Net Framework". The node "Asp Net" should be deleted, but it seems I cannot delete it!. Any advice please? Thanks
  • s

    SeriousBug

    04/09/2022, 5:50 PM
    I think there are some bugs with the graph, you might want to restart first to see if it disappears
  • x

    xyz

    04/09/2022, 5:53 PM
    I restarted and it is ok now. Thanks.
  • x

    xyz

    04/09/2022, 7:37 PM
    Links like this do not get updated when I change the node's name or refactor hierarchy! Is that a bug or I am doing it the wrong way?
1...603604605...757Latest