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

    alexis<3

    04/21/2022, 9:20 PM
    interesting
  • a

    alexis<3

    04/21/2022, 9:21 PM
    so its not possible to say 'apply this schema to every child regardless of depth'
  • a

    alexis<3

    04/21/2022, 9:24 PM
    so if i wanted a hook to run on for my monolith tickets is
    Copy code
    hooks:
        onCreate:
            -
                id: link-to-jira
                pattern: monolith.tickets.*
                type: js
    hypothetically enough?
  • a

    alexis<3

    04/21/2022, 9:30 PM
    hte link to the 'note' object links to a blank line on github (foundation.ts:66)
  • a

    alexis<3

    04/21/2022, 9:46 PM
    i think i have the hooks working but everytime i edit a hook
  • a

    alexis<3

    04/21/2022, 9:46 PM
    i have to restart vsc to get its changes picked up
  • a

    alexis<3

    04/21/2022, 9:46 PM
    reload index isn't working
  • a

    alexis<3

    04/21/2022, 10:30 PM
    hooks work great thanks @SeriousBug (my dev cycle for making them is messy because of reload index not functioning) i was able to add my custom tags and update the title to bypass the pascal casing formatter (jira tickets have dashes in them)
  • a

    alexis<3

    04/21/2022, 10:34 PM
    is there a way to have a hook ask for user input ?
  • k

    kevins8

    04/21/2022, 10:47 PM
    not currently. a note trait can ask for user input but they are currently limited in functionality. if there's something that you need that traits don't currently support, let us know with a feature request
  • a

    alexis<3

    04/21/2022, 10:56 PM
    ill look into note trates to see if i can - my goal is to use user input to fill a custom frontmatter field
  • m

    mark88

    04/22/2022, 7:00 AM
    what are the conventions I must adhere to in order to make Dendron work? - I cannot use nested directories; every directory must be added as a vault - every markdown file must have frontmatter (i avoid frontmatter and have a different way of extracting title, tags and dates) - the frontmatter will contain an id, changed and updated field? - dates are unix timestamps (i use a YYYY-MM-DD HH:mm iso format) i'm just exploring dendron but i struggle to get started because i do not want to re-organize and re-format my notes to for a specific tool
  • s

    SeriousBug

    04/22/2022, 7:03 AM
    You're right with those points. There is a markdown import command that can import your notes so you don't have to manually do so, although I'm not sure that it will read the ISO formatted dates so it might replace the dates. https://wiki.dendron.so/notes/f23a6290-2dec-45dc-b616-c218ee53db6b/ Also to clarify, the frontmatter is generated automatically and there's an option to always fold it in your editor, so you could ignore the frontmatter if you prefer.
  • m

    mark88

    04/22/2022, 7:04 AM
    oh, and I noticed that hierachy is done using dot names, rather than folders, correct?
  • m

    mark88

    04/22/2022, 7:04 AM
    i might just give it a try and import all -- i'm using git so i can easily branch and refactor after all
  • s

    SeriousBug

    04/22/2022, 7:05 AM
    Yes, we found that more flexible because it's easier to refactor them later, and you can also create notes on the "directories". So
    recipe
    can be a note while
    recipe.rice
    is also a note. The import should convert your folders to dot hierarchies
  • m

    mark88

    04/22/2022, 7:06 AM
    oh that's good to know! Ok, i'm just going to give it a try and see how I like it. (i am currently overwhelmed by a lack of structure, so dendron seems nice)
  • l

    lojic

    04/22/2022, 7:09 AM
    i am havin some trbl w schemas. particularly, i am tryna enter glob patterns but they dont seem to be triggering the autocomplete. i have
    project
    schema (parent: root, namespace: true) w children
    authors
    ,
    desc
    , and those autocomplete fine. but i also have simple glob
    version
    w
    pattern: "version[0-9]"
    . doesnt seem to assist ever. also can
    project
    not have a pattern bcuz its a child of root? why is that a constraint, if so?
  • s

    SeriousBug

    04/22/2022, 7:12 AM
    You're right. The first part of the schema, the one that's the child of the root, can't have a pattern. I don't think it's impossible to have, please feel free to send a feature request for it: https://github.com/dendronhq/dendron/issues/new/choose For the schemas, if you could share the schema and what notes work and what notes don't, we can see why it might not be working.
  • l

    lojic

    04/22/2022, 7:13 AM
    ive basically completely described it.authors and desc have only id, version has id + pattern fields.
  • l

    lojic

    04/22/2022, 7:14 AM
    i dont have the file easily at hand since its on my work laptop...
  • b

    bradw

    04/22/2022, 7:15 AM
    Hi there
  • b

    bradw

    04/22/2022, 7:18 AM
    I am using Dendron in my studies. I am primarily interested in info about using LaTex. At the moment I am trying to create a global macro. There is a distinct lack of info about this, especially within Dendron. I am trying to do this:
    Copy code
    $$
    \gdef\lg{#00ff00}
    \gdef\gtext#1{\color{\lg} \text{#1} \color{r}}
    \gdef\rtext#1{\color{red} \text{#1} \color{r}}
    $$
    Any suggestions?
  • l

    lojic

    04/22/2022, 7:19 AM
    dendron supports katex, not latex?
  • l

    lojic

    04/22/2022, 7:19 AM
    for that i suggest pandoc+context
  • b

    bradw

    04/22/2022, 7:19 AM
    Sorry, I mean KaTex
  • b

    bradw

    04/22/2022, 7:21 AM
    I can use
    \def
    instead of
    \gdef
    in each code slot, but I would prefer it be a global entry.
  • l

    lojic

    04/22/2022, 7:22 AM
    not even sure katex supports that?
  • b

    bradw

    04/22/2022, 7:24 AM
    It supports it, and Dendron doesn't bitch either. It just doesn't seem to actually make the macro global!
  • g

    Gander7

    04/22/2022, 5:04 PM
    from a reference in https://wiki.dendron.so/notes/6DZiBObwhZNYRjnokQ422/
    Copy code
    for access control, multi-vault lets users configure specific vaults to be private which turns off publication and sharing of any notes inside said vault
    After reading this I assumed I could mark a confidential vault as private so that if I tried to reference it in another vault, it wouldn't work. I have a confidential remote vault that I want to prevent myself from accidentally referencing it in another shared/non-confidential vault. I can't find a property or way to do this from the docs, am I missing something or is my assumption wrong?
1...615616617...757Latest