https://www.dendron.so/ logo
Join Discord
Powered by
# dev
  • u

    user

    10/13/2020, 8:44 PM
    I guess I'm going to play devils advocate here 🙂 I see lots of new features on the horizon, but will they all be compartmentalised into plugins or be disabled in some way? I saw that there may be git integration for example but can I just use my own workflow?
  • k

    kevins8

    10/13/2020, 8:52 PM
    @User please do :) dendron the platform will have a small and stable core that consists of functionality that helps you manage your notes via hierarchies. everything else should be plug & play
  • u

    user

    10/13/2020, 8:58 PM
    cool, just putting that out there because I know there are other people who like to hack/configure and that is really essential to me personally
  • u

    user

    10/13/2020, 8:59 PM
    Btw, i'm excited to swap over to language protocol tonight and see how it goes!
  • k

    kevins8

    10/13/2020, 9:02 PM
    one caveat with the dendron server is that there's currently no language server involved 😅 server mode stands up a local server that manages the indexing of your notes. this is because the language server doesn't have a protocol for "lookup" server mode helps unify indexing across all dendron extensions in one place and will be used by the language server to query for dendron metadata
  • k

    kevins8

    10/13/2020, 9:02 PM
    you can see my conversation with @User for further details: https://discordapp.com/channels/717965437182410783/735365126227493004/765435624878505985
  • i

    ichimga

    10/15/2020, 6:02 PM
    has anyone had this issue, can't figure out if it's Dendron or a different plugin the tick box in the preview is off there is a dash which comes from nowhere
  • k

    kevins8

    10/15/2020, 6:05 PM
    i'm not able to reproduce that. what is the raw markdown that you're using?
  • i

    ichimga

    10/15/2020, 6:10 PM
    I've disabled the markdown table sort and notes extensions. left only the dendron ones. you've not used the square brackets to get the check boxes. I can reproduce the one from your image fine. here's mine
    Copy code
    |       | KEY     | VALUE | DESCRIPTION |
        | ----- | ------- | ----- | ----------- |
         - [x] | title   |       |             |
         - [x] | content |       |             |
  • k

    kevins8

    10/15/2020, 6:12 PM
    got it. is this the expected behavior?
  • i

    ichimga

    10/15/2020, 6:14 PM
    well, when i hit SAVE it formats it like you have and the interactive checkbox in the preview disappears, if you remove the first two vertical lines for title and content rows you should get the checkboxes as in my image, you can only see them a little bit
  • k

    kevins8

    10/15/2020, 6:17 PM
    got it, was able to repro. looks like that's an issue on our end with rendering checkboxes in tables could you file a bug report here so we can fix that going forward? https://github.com/dendronhq/dendron/issues/new?assignees=&labels=&template=bug_report.md&title=
  • i

    ichimga

    10/15/2020, 6:18 PM
    yep! will do right now
  • k

    kevins8

    10/15/2020, 6:18 PM
    👍
  • i

    ichimga

    10/15/2020, 6:28 PM
    thank you!
  • u

    user

    10/16/2020, 3:40 PM
    Any good primers on making plugins for vsCode, besides their own docs?
  • k

    kevins8

    10/16/2020, 3:43 PM
    the vscode extension samples are a good place to look: https://github.com/microsoft/vscode-extension-samples otherwise, checking out the repo of extensions like gitlens is helpful. i know @User recently was looking for similar resources so dunno if he has more to add 🙂
  • u

    user

    10/16/2020, 3:44 PM
    Thanks!
  • k

    kevins8

    10/16/2020, 3:48 PM
    i guess I would be remiss to not also include the dendron repo :P https://github.com/dendronhq/dendron it's a little more intricate than your typical extension but it has some good patterns for breaking up large vscode plugins if i do say so myself 😅
  • u

    user

    10/16/2020, 3:50 PM
    Yeah, I’ll check that out later, first need to understand the big picture. 🙂
  • b

    britt

    10/17/2020, 12:56 AM
    > Any good primers on making plugins for vsCode, besides their own docs? @User @User Yes, I just started poking at VS Code about a month ago. I found their documentation of their API pretty lacking, and a bit buried, to be quite honest. Most helpful was @User's recommendation of a few plugins that implement some sound org patterns, for example GitLens (which is very well organized). Mostly, I dove in by picking a small task and implementing it over a weekend. I chose to implement the 10k-ft-view equivalent of Dendron's Lookup functionality: ask a provider (I implemented three, once using VSCode's exposed file-system hooks, one using the 'fs' module, and another using ripgrep) for a collection of notes, and create a custom quickPicker to fuzzy search or allow the option to create a new one if there is no exact match. This is a great reminder that I didn't push the source for this. Will do this weekend and paste here for you in case it's helpful.
  • b

    britt

    10/17/2020, 12:59 AM
    I also hadn't written Javascript in, 10 years maybe, and had never touched Typescript, so I spent some time collecting resources on what's happened in the ecmascript world over the past decade. Humorously, a lot, and not that much. Turns out that by skipping a decade you get to largely ignore a lot of the churn as people tried to sort the spec design by (corporate) committee out. :) Happy to send those over if helpful, also.
  • h

    HeyyyyJinn

    10/17/2020, 5:12 AM
    Is there a chance we can go towards the Multimarkdown syntax, esp for file transclusion? It seems like Multimarkdown has a great feature set for taking and reviewing notes.
  • h

    HeyyyyJinn

    10/17/2020, 5:13 AM
    {{note.withtranscludedtext}}
    instead of
    ((ref:[[note.withtranscludedtext]]))
  • h

    HeyyyyJinn

    10/17/2020, 5:13 AM
    `Multimarkdown syntax`: https://rawgit.com/fletcher/MultiMarkdown-6-Syntax-Guide/master/index.html
  • k

    kevins8

    10/17/2020, 5:21 AM
    interesting. didn't realize multimarkdown had a transclusion syntax. are there clients that implement this already? the only conflict I see is that this conflicts with our publishing syntax. we use jekyll to publish notes and jekyll uses
    {{ }}
    as variable substitution
  • k

    kevins8

    10/17/2020, 5:22 AM
    i suppose we could set some of flag in the frontmatter or modify the
    {{}}
    during the build process so that's not a deal breaker
  • k

    kevins8

    10/17/2020, 5:23 AM
    @User what's your intended use case for transclusion syntax? if we included it as a markdown pod that let you import/export notes to multi-markdown, converting references to transclusions, would that do?
  • h

    HeyyyyJinn

    10/17/2020, 5:33 AM
    Oh ic. I'm seeing MMD as becoming a standard. Obsidian, Ulysses Scrivener, Wordpress(via plugin) support it, and I think Epsilon Notes on Android is going to move towards it. My use case is 1. to be able to view my notes (with transclusions) on mobile, and also 2.I'm nesting vaults with Obsidian. While I use Dendron for writing and organizing my notes within contexts (my tech notes is a seperate vault from my biology notes, thinking about code would be a distraction when im going biology), I put a Obsidian folder in my root folder so I can visualize my entire local filesystem.
  • h

    HeyyyyJinn

    10/17/2020, 5:37 AM
    Point 1 shouldnt be a problem even if we don't go to {{syntax}} because Epsilon Notes has a handy regex format-adaptor tool. It can replace the syntax before it renders, without changing the source. Really cool feature: http://epsilonexpert.com/e/info/compat_processor.php?i=1
1...131415...108Latest