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

    L3n

    02/21/2022, 6:51 PM
    ah right
  • y

    yiming

    02/21/2022, 7:48 PM
    I am trying [cross-vault template](https://wiki.dendron.so/notes/c5e5adde-5459-409b-b34d-a0d75cbb1052/#cross-vault-template-syntax) but it could not load the template correctly. Any idea? I have dendron.handbook vault in my workspace, added by
    Add Seed to Workspace
    command.
  • s

    SeriousBug

    02/21/2022, 7:54 PM
    The template should just be the link, like:
    Copy code
    yml
    ...
    - id: week
      title: week
      pattern: "[0-5][0-9]"
      template: dendron://handbook/templates.weekly-journal
  • s

    SeriousBug

    02/21/2022, 7:55 PM
    There's also a known bug with the
    create daily journal note
    , but it should work fine when you are creating a note with the lookup.
  • y

    yiming

    02/21/2022, 7:58 PM
    Still not working for me when using the following schema
    Copy code
    version: 1
    schemas:
      - id: weekly
        title: weekly
        desc: "Weekly Journal"
        parent: root
        children:
          - journal
      - id: journal
        title: journal
        children:
          - year
      - id: year
        title: year
        pattern: "[0-2][0-9][0-9][0-9]"
        children:
          - week
      - id: week
        title: week
        pattern: "[0-5][0-9]"
        template: dendron://handbook/templates.weekly-journal
  • s

    SeriousBug

    02/21/2022, 8:00 PM
    Can you also try with
    dendron://handbook/
    part removed? Templates work cross-vault even if you don't specify which vault they are in
  • y

    yiming

    02/21/2022, 8:03 PM
    Thanks! Removing the part works!
  • b

    BrnVrn

    02/21/2022, 8:33 PM
    Hi, how would you put a note in multiple hierarchies? For example "firewalld.md" in Linux.Service and in Security. Network.Firewall . I thought I read about this, but cannot find it now. If there was examples that would be great too. Thanks
  • s

    SeriousBug

    02/21/2022, 8:56 PM
    You can't have a note in multiple hierarchies. The recommended way is putting it in one hierarchy, then referencing it in the other like
    ![[security.network.firewall]]
    . This will show the contents of the referenced note in the preview and in published sites.
  • b

    BrnVrn

    02/21/2022, 9:10 PM
    In all hierarchies where I want is to appear, I would have to add a reference. For example I create the Linux.Service.firewall**d**.md and in Security.Network.Firewall.md I add ![[Linux.Service.firewalld.md]] . That would be as if I had Security.Network.Firewall.firewall**d**.md ?? I guess it is possible to use Tags too like #Security.Network.Firewall ? (Not the exactly the same but could work too?)
  • s

    SeriousBug

    02/21/2022, 9:11 PM
    Yes, you would place it at one place and then reference it everywhere else. Tags would also definitely work, the difference is you'll just have a link and not the contents of the note.
  • e

    ElderFallGuy

    02/21/2022, 9:39 PM
    Hi Kevin, thank you for the reply. I tested again and still the same error... It is not really a big issue since I can always batch rename the file and search/replace references in the content... but I filled a bug report here https://github.com/dendronhq/dendron/issues/2462 in case that someone runs into the same pb.
  • j

    josh

    02/22/2022, 1:12 PM
    quick question: How can I sort notes in the publish sidebar?
  • s

    Silviu

    02/22/2022, 1:26 PM
    @User I just noticed something: when I write an @-reference, such as @bob, clicking on it would take me to user.bob, which is great. However, if it is surrounded by brackets, i.e. "(@bob)", I get the message "Selection is not a valid link".
  • f

    fudo

    02/22/2022, 1:27 PM
    does the same happen when you put spaces between
    @bob
    and the braches?
  • p

    Paul_J

    02/22/2022, 1:28 PM
    I made the mistake of downloading some templates seeds and they seem to have broken and cluttered up my exiisting configuration. can I delete them from the source control panel in vscode? how would I do that? is there any other way to delete them?
  • s

    Silviu

    02/22/2022, 1:35 PM
    No. It works if I put a space.
  • j

    josh

    02/22/2022, 2:05 PM
    use the
    Dendron: Vault Remove
    command :)
  • p

    Paul_J

    02/22/2022, 2:19 PM
    thanks lot for this. what is a difference between remove seed and vault remove?
  • p

    Paul_J

    02/22/2022, 2:20 PM
    isn't a seed just a public vault?
  • c

    CraigO

    02/22/2022, 3:08 PM
    Hi all, how do you modify the CSS used in the Dendron Preview? Thanks 🙂
  • j

    josh

    02/22/2022, 3:10 PM
    interesting, maybe you'll need to use
    remove seed
    then... not sure though!
  • s

    SeriousBug

    02/22/2022, 3:55 PM
    There's an issue tracking the demand for custom themes, it isn't possible yet unfortunately: https://github.com/dendronhq/dendron/issues/496
  • c

    CraigO

    02/22/2022, 3:57 PM
    OK thanks, that seems to be for the published site, I'm more interested in the VS Code side-by-side preview, or is it related?
  • s

    SeriousBug

    02/22/2022, 3:57 PM
    As far as I can see "remove seed" also removes the seed entry from the
    seeds
    part of your configuration. You can use remove vault, but there will be some stuff about seeds left in the configuration file basically.
  • s

    SeriousBug

    02/22/2022, 3:57 PM
    Yes, the preview and published site use the same code so any theme would apply to both.
  • p

    Paul_J

    02/22/2022, 4:28 PM
    does anybody know how to change the default name for a scratch task - lets say I wanted daily.journal.2022.02.09.scratch.161823 instead of scratch.2022.02.22.161823? I want to do this because I want to be al to look at everything that happened on a given date - both journals and scratch notes. maybe there's a different way to do that
  • b

    benhsm | Jack of N trades

    02/22/2022, 4:38 PM
    In the
    dendron.yml
    file in your workspace, there should be a section that looks like:
    Copy code
    scratch:
            name: scratch
            dateFormat: y.MM.dd.HHmmss
            addBehavior: asOwnDomain
    and you should be able to modify the
    y.MM.dd.
    part of that
  • b

    benhsm | Jack of N trades

    02/22/2022, 4:40 PM
    so that's how you would change the default name, but I'm not sure if you can get them to be made under the current day's journal note
  • j

    jaweiss2305

    02/22/2022, 5:43 PM
    Do you need a {foo}.schema.yml for your note structures? Or can you proceed without the schema?
1...553554555...757Latest