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

    seadude

    01/19/2022, 3:40 PM
    Documentistas! Anyone using Dendron to write emails? Back in my emacs days, this was a great way to keep track email correspondence. Would be real nice to be able to send emails with screenshots/medias straight from Dendron!
  • s

    seadude

    01/19/2022, 3:50 PM
    Different topic... Curious how you all are handling image/video assets. I have the Dendron Paste Image extension setup to put all pasted images into an "assets\images" folder at the top level of the vault. This can lead to all kinds of problems down the road (which assets go with which doc, etc). Hard problem to solve...
  • b

    benhsm | Jack of N trades

    01/19/2022, 3:52 PM
    You could use a schema to have a monthly template that applies when you make a note corresponding with a month, e.g.
    daily.journal.2022.02
    . It's the same as applying templates using schemas for daily or weekly journal entries
  • b

    benhsm | Jack of N trades

    01/19/2022, 3:54 PM
    Maybe you'd be interested in the project schema in the example vault and its corresponding template: https://github.com/dendronhq/templates/tree/main/templates If you're looking for information on how to structure your note hierarchies in a way that's project based, you might look at the PARA system: https://pkm.dendron.so/notes/20855ea8-0f1d-49bd-80ca-7b807ef77bbf.html
  • b

    benhsm | Jack of N trades

    01/19/2022, 4:07 PM
    I'm interested in having more robust ways of doing this as well. The Dendron docs actually demonstrate an interesting way of handling this: https://discord.com/channels/717965437182410783/892453144632627200/923268200496525363 the TL;DR - all the images for the documentation are stored in a single node under different headings. Nodes where those images are required use header references to display them. Changes to the image node propagate through the notebase. Mostly though, I just don't use images all that much myself at this point.
  • b

    benhsm | Jack of N trades

    01/19/2022, 4:11 PM
    I can confirm that this doesn't seem to be built-in functionality using vscodium on Linux. You could try something like this (I haven't tested it myself): https://marketplace.visualstudio.com/items?itemName=kisstkondoros.vscode-gutter-preview
  • f

    foureyedsoul

    01/19/2022, 4:17 PM
    What do you mean when you say "proper monthly functionality"? I use a schema that's different from Kevin's, where I have levels for years, months, weeks, and days. I've made it so there are different (but similar) templates for each level. If that's what you are hoping to have, I'm happy to share it!
  • s

    Saine

    01/19/2022, 4:20 PM
    The `Insert Template`Part looks like a workaround because it's not possible to create a monthly note right away
  • s

    seadude

    01/19/2022, 4:29 PM
    Interesting! Maybe I'll try this out.
  • f

    foureyedsoul

    01/19/2022, 4:33 PM
    I have it set up so that if I use the lookup bar ( command + l on mac ), I can create a monthly note right away. If I'm currently looking at
    journal.2022
    , I can just type
    .02
    into the lookup bar and it will make a new monthly note that I can use for February.
  • s

    seadude

    01/19/2022, 4:34 PM
    @User What do the chars on the end of the link represent? After the heading name,
    ,1:#*
    Fulle example:
    ![[dendron://dendron.dendron-site/asset.preview#tree-view-dark,1:#*]]
  • b

    benhsm | Jack of N trades

    01/19/2022, 4:35 PM
    What you're seeing there is syntax for referencing headers, I think. See this document for more information: https://wiki.dendron.so/notes/f1af56bb-db27-47ae-8406-61a98de6c78c/#wildcard-headers-as-a-range-boundary
  • s

    seadude

    01/19/2022, 4:38 PM
    Oh wow. Thats powerful... Basically, skip the first line under the reference header, and grab all content (the image) up to the next header.
  • v

    voothi

    01/19/2022, 4:41 PM
    Hi! I have problems with
    Rename Note
    in multi-valut usage. Wikilinks are not renamed out of current note vault. Is it a expected behavior?
    h
    • 2
    • 3
  • v

    voothi

    01/19/2022, 4:42 PM
    I see a similar problem with
    Refactor Hierarchy
    .
  • k

    kevins8

    01/19/2022, 4:43 PM
    nope. if you have a repro, please submit a bug report and we'll take a look!
  • g

    grndstt

    01/19/2022, 4:43 PM
    Hi all ! I got a problem in a multivault workspace. When I trigger a new note creation with cmd + L and tick the Select vault option I get an error saying No available vaults for filename (see attached screenshot)
  • g

    grndstt

    01/19/2022, 4:45 PM
    OK this apparently happens if their is a preexisting note with the exact same name (in any other vault). See following screenshots
  • g

    grndstt

    01/19/2022, 4:46 PM
    This configuration (see above) leads to the above error message because todo.md is preexisting in another vault
  • g

    grndstt

    01/19/2022, 4:47 PM
    This configuration (see above) will not lead to the error.
  • g

    grndstt

    01/19/2022, 4:47 PM
    Not sure if it's expected.
  • v

    voothi

    01/19/2022, 4:50 PM
    Hi! Check for availability vault in files
    dendron.code-workspace
    and
    dendron.yml
    in your root WS
  • s

    seadude

    01/19/2022, 4:58 PM
    Is it possible to capture the Dendron working document in a variable? Similar to how
    ${currentFileDir}
    grabs the current file directory for use with VS Code settings? Something like
    ${currentDendronFilename}
    ?
  • g

    grndstt

    01/19/2022, 5:10 PM
    Hi @User what do you mean by "check for availibility vault" ? I do have multiple vaults and all are declared in the dendron.code-workspace and dendron.yml. What exactly do you mean I should check for ?
  • r

    rlh1994

    01/19/2022, 5:32 PM
    Are you moving a non-leaf note by any chance? https://github.com/dendronhq/dendron/issues/2003
  • r

    rlh1994

    01/19/2022, 5:33 PM
    Otherwise it sounds like a different bug
  • k

    kevins8

    01/19/2022, 5:53 PM
    you might want to use
    ${fileBasenameNoExtension}
  • s

    seadude

    01/19/2022, 6:02 PM
    @User , hm... I can't seem to get that to work. Goal is to name media files more relevant to the document they were pasted into. Using Dendron Paste Image extension settings,
    ${fileBasenameNoExtension}
    doesn't seem to prepend/suffix the actual image filename.
  • k

    kevins8

    01/19/2022, 6:03 PM
    ah, sorry, i thought you were referring to generic vscode variables. here's a link to all relevant variables for paste image: https://marketplace.visualstudio.com/items?itemName=mushan.vscode-paste-image
  • s

    seadude

    01/19/2022, 6:15 PM
    That helps! If there was a way to
    replace(${currentFileNameWithoutExt}, '.', '-')
    for the
    pasteImage.namePrefix
    or
    pasteImage.defaultName
    settings, that would be great for naming of media assets. (eliminates '.' 's in asset filenames)
1...512513514...757Latest