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

    Lysergic

    01/15/2022, 1:54 PM
    Turns out its not possible at least cleanly. Is there a dirty way to do it? Would editing it like a nextjs app work?
  • m

    mihaiconstantin

    01/15/2022, 4:46 PM
    Is it possible to use a template for
    journal
    notes (i.e., created by
    cmd/ctrl+shift+j
    ) without having to recreate the entire schema as shown here (i.e., https://wiki.dendron.so/notes/c5e5adde-5459-409b-b34d-a0d75cbb1052/#template)?
  • k

    kevins8

    01/15/2022, 5:26 PM
    not yet, if you look in the #864565270922920006 , @User has a great writeup about it here -> https://discord.com/channels/717965437182410783/864565270922920006/926611592517390416
  • k

    kevins8

    01/15/2022, 5:28 PM
    not currently - we are working on making it easier to import existing schemas. for now, would recommend the following setup: https://wiki.dendron.so/notes/5U4eAiqshI67VxIL40KWH.html
  • m

    mihaiconstantin

    01/15/2022, 5:28 PM
    Thanks @User!
  • m

    mihaiconstantin

    01/15/2022, 5:55 PM
    If I may ask one quick follow-up question. The
    ctrl/cmd+shift+j
    shortcut creates journal entries following the
    journal
    schema. Is it possible to customize this shortcut (i.e., also the button in the lookup bar) to use an arbitrary schema?
  • m

    mihaiconstantin

    01/15/2022, 5:58 PM
    It actually makes more sense to use a custom
    schema
    with the
    pattern: journal
    as you already mentioned. But I am just curious whether the kindbindings can be changed.
  • k

    kevins8

    01/15/2022, 6:49 PM
    we have some limited configuration options to change the hierarchy: https://wiki.dendron.so/notes/5c213aa6-e4ba-49e8-85c5-1bdcb33ce202.html#configuration but we're actually expanding this with note traits (https://wiki.dendron.so/notes/bdZhT3nF8Yz3WDzKp7hqh.html) which allow you to create your own type of notes and completely customize the path (NOTE: its still in beta so lots of edges with this feature)
  • m

    mihaiconstantin

    01/15/2022, 7:03 PM
    Wow, the note traits seem super powerful in terms of customizations! Thanks for the resources again--it helps a lot!
  • k

    kevins8

    01/15/2022, 7:12 PM
    we're planning on doing a lot more with traits in the future (eg. validating frontmatter, affect how notes are rendered in editor as well as preview and publishing)
  • m

    mihaiconstantin

    01/15/2022, 7:17 PM
    It is amazing how fast Dendron is evolving! Will keep an eye out for the traits. Do you plan for the traits to coexist with schemas?
  • k

    kevins8

    01/15/2022, 7:24 PM
    yep. the plan is for a schema to be able to apply a trait (kind of how schema templates work today)
  • b

    banjara

    01/15/2022, 8:27 PM
    is
    Dendron: Initialize Workspace
    the same as the
    File>Save Workspace As
    ?
  • p

    patchwork

    01/15/2022, 8:47 PM
    Can’t wait for this. Makes perfect sense. View for Recipe should be different than Person, and so on.
  • s

    SeriousBug

    01/15/2022, 8:58 PM
    No, Initialize Workspace creates a new Dendron workspace. Save Workspace just saves your settings for the current workspace.
  • n

    Nezteb

    01/15/2022, 9:30 PM
    I assume the answer is "no" (at least not without other extensions), but is there any way to trigger alerts/emails to myself for scheduled/deadlined tasks in Dendron?
  • k

    kevins8

    01/15/2022, 10:31 PM
    not currently though we do have an RFC for notifications that can tie in with that: https://wiki.dendron.so/notes/o5AQmw9bsPQspYuTjdmnK.html something you would do today: if you keep all tasks in a
    task.*
    hierarchy, write a script that watches it (eg. could be on git push or locally), pares the frontmatter for due date and execute a task
  • m

    mihaiconstantin

    01/16/2022, 7:34 PM
    Is the
    (?)
    symbol for
    Unknown Schema
    disabled by default, or has it been removed recently? I can't get Dendron to show it for notes that don't match a schema.
  • a

    amar

    01/16/2022, 8:17 PM
    Having some more
    assetPrefix
    issues -- when I run
    npx dendron-publish-drawio
    , it tries looking for diagrams in
    .next/public/<assetPrefix>/assets/...
    while they're in
    .next/public/assets/...
    (ENOENT), is it meant to be like that?
    l
    • 2
    • 3
  • s

    SeriousBug

    01/16/2022, 9:05 PM
    I think that's @User's tool, might be able to help
  • l

    lukecarrier

    01/16/2022, 9:06 PM
    dendron-publish-drawio and assetPrefix
  • c

    Clifton

    01/16/2022, 11:01 PM
    I've come across an article on how to publish Dendron to github.io. Is there one on how to publish to my own hosted domain?
  • s

    SeriousBug

    01/16/2022, 11:48 PM
    Using your own domain with GitHub hosting, or your own server?
  • c

    Clifton

    01/16/2022, 11:57 PM
    @User I am using Hostinger, hosting.
  • s

    SeriousBug

    01/17/2022, 12:04 AM
    I'm not familiar with hostinger, but Dendron publishing is static websites. So all you need to do is to build your website with
    dendron publish export
    CLI command, and then set up your hosting to serve the
    .next/out
    folder. I can't find any tutorials for hostinger unfortunately.
  • c

    Clifton

    01/17/2022, 1:02 AM
    @User Thank you. I think I can do it with your suggestions.
  • m

    mihaiconstantin

    01/17/2022, 7:46 AM
    I noticed that
    JavaScript
    code be injected in templates via the
    {{...}}
    , but I don't recall this being documented anywhere. Will this continue to be allowed in the future?
    k
    • 2
    • 5
  • s

    SeriousBug

    01/17/2022, 7:47 AM
    Can you give a little more context?
  • m

    mihaiconstantin

    01/17/2022, 7:58 AM
    @User, of course! For example, if I have a
    template.proj
    applied via a schema to notes `proj.*`:
    Copy code
    markdown
    ---
    id: BMZcgeNY0vEUKFjh5wtgL
    title: Project Template
    desc: ''
    updated: 1642405401835
    created: 1642401770156
    ---
    
    Result: {{ 1 + 1 }}
    The
    {{ 1 + 1 }}
    will be executed and rendered in the note as
    2
    . And this seems to be the case for any valid
    JavaScript
    code.
  • m

    mihaiconstantin

    01/17/2022, 8:01 AM
    It seems handy especially when specific template variables are not available, but I am not sure if this is intended and whether it will continue to work in the future.
1...503504505...757Latest