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

    ichimga

    10/27/2020, 4:38 PM
    Hello! Does Dendron support multiple languages or would there be a workaround? My first thought is "repeating" the whole structure of my notes with
    en.
    and
    es.
    and
    fr.
    at the very beginning of each file.
  • i

    ichimga

    10/27/2020, 4:40 PM
    Follow up question. Putting aside multiple languages. I'm interested if I could have 1 language structure of my notes in Dendron but sync them with Weblate where anyone can translate the raw text of the original structure, avoiding "repeating" the structure.
  • k

    kevins8

    10/27/2020, 4:45 PM
    a few ways that jump out to me: 1. using file extensions 2. using metadata from frontmatter 3. using metadata from
    dendron.yml
    there are pro/cons of each approach. you can see my writeup about it here: https://dendron.so/notes/c3800271-dd56-46fb-8de7-e850f3c006b7.html
  • k

    kevins8

    10/27/2020, 4:46 PM
    @User as for having 1 language structure for notes, markdown will probably be the canonical structure in any case. any transformations on it can and should be done using pods: https://dendron.so/notes/66727a39-d0a7-449b-a10d-f6c438185d7f.html
  • i

    ichimga

    10/27/2020, 5:01 PM
    I've run into this, I think it could be useful at some point for Dendron https://mikemcquaid.com/2018/02/14/translations-with-rails-and-jekyll/
  • b

    brimwats

    10/27/2020, 5:05 PM
    the Hugo yaml supports multiple languages fwiw
  • b

    Buxel

    10/27/2020, 5:20 PM
    > @Buxel thanks for the reminder! yes it still is, it got time shifted due to the craziness of october. +1/2 weeks for this 😅 @kevins8 no worries, i can wait. I just remembered this feature after refactoring a big project onto smaller ones, each with their own journals. I'd like to use wildcards to aggregate all Todos from said journals
  • k

    kevins8

    10/27/2020, 5:25 PM
    @User thanks for the link. still thinking through internationalization so this helps 🙂
  • k

    kevins8

    10/27/2020, 5:26 PM
    > the Hugo yaml supports multiple languages fwiw @User you mean multiple frontmatter formats? we're talking specifically about file formats (eg. org mode, restructured text, etc)
  • b

    brimwats

    10/27/2020, 5:30 PM
    ah got it! bad assumption after i saw the jekyll link 🙂
  • k

    kevins8

    10/27/2020, 5:30 PM
    all good. multiple frontmatter formats is also cool but much lower on the prioritization list 😅
  • e

    Ed Nico

    10/27/2020, 6:39 PM
    Hi @kevins8 any chance you would be able to share your journal schema for how you have the years and months etc. I tried but I suspect you have used a wildcard and I am not sure how to replicate. Thanks a lot in advance
  • k

    kevins8

    10/27/2020, 6:43 PM
    @User
    Copy code
    yml
    version: 1
    schemas:
    - id: daily
      title: daily
      desc: ""
      parent: root
      children:
        - journal
    - id: journal
      title: journal
      desc: ""
      parent: root
      children:
        - year
    - id: year
      title: year
      pattern: "[0-2][0-9][0-9][0-9]"
      children: 
        - month
    - id: month
      title: month
      pattern: "[0-9][0-9]"
      children: 
        - day
    - id: day
      title: day
      pattern: "[0-9][0-9]"
      namespace: true
      template:
        id: daily.template.journal
        type: note
  • e

    Ed Nico

    10/27/2020, 7:31 PM
    Thank you so much. I would not have gotten that in a long time
  • i

    ichimga

    10/27/2020, 7:48 PM
    I'm getting this when refactoring. It stays on the Refactor Preview screen and nothing happens. Just what you see in the screenshot.
  • i

    ichimga

    10/27/2020, 8:01 PM
    Got it. I skipped 1 hierarchy level. Instead of refactoring from the "root" level of that specific hierarchy!
  • k

    kevins8

    10/27/2020, 8:17 PM
    @User glad you got it worked out! we'll show a nicer error message in the future 😅
  • i

    ichimga

    10/27/2020, 9:11 PM
    haha!
  • i

    imalightbulb

    10/28/2020, 1:38 AM
    What's "- selection2link will now auto title new notes based on the selection "? @User
  • i

    imalightbulb

    10/28/2020, 1:38 AM
    what's "selection to link"?
  • k

    kevins8

    10/28/2020, 1:39 AM
    its one of the menu buttons on lookup. it controls what happens when you have text selected and create a new note: https://dendron.so/notes/a7c3a810-28c8-4b47-96a6-8156b1524af3.html#selection-toggle
  • i

    imalightbulb

    10/28/2020, 1:42 AM
    so if you toggle this option on, the new note created will link to whatever text you selected?
  • k

    kevins8

    10/28/2020, 1:43 AM
    whatever you selected will link to the newly created note 🙂
  • i

    imalightbulb

    10/28/2020, 1:43 AM
    ok, thanks for the explanation
  • i

    imalightbulb

    10/28/2020, 1:53 AM
    I went through this when I was figuring how to use tags in dendron, where should I put this css code in? (to style my tags in the
    [[#foo | tags.foo]]
    format)
  • k

    kevins8

    10/28/2020, 2:01 AM
    https://dendron.so/notes/683740e3-70ce-4a47-a1f4-1f140e80b558.html#can-i-customize-the-markdown-preview-css
  • z

    zaimoni

    10/28/2020, 9:25 AM
    Cross-check me, probably haven't spent enough time in the docs: don't seem to be viewing/entering the notes in a way that gets the clickable checkbox GUI. (Open preview is not it.) I wouldn't rule out my not installing a relevant sub-extension.
  • r

    robothor

    10/28/2020, 9:35 AM
    @User Markdown is sensitive to spacing, so make sure you have "- [ ]". Also, Dendron uses the "Markdown Preview Enhanced" plugin. It should show "dendron.dendron-markdown-preview-enhanced" in the extensions list
  • z

    zaimoni

    10/28/2020, 9:41 AM
    Yes, GUI view thinks Dendron Markdown Preview Enhanced is installed. (Of the recommended ones on install, I omitted : Material Theme [looked cosmetic], Dendron Markdown Shortcuts, Dendron Markdown Links [looked like power user extensions])
  • r

    robothor

    10/28/2020, 9:45 AM
    I guess just make sure that you are opening the preview with the right extension.
1...107108109...757Latest