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

    SeriousBug

    10/31/2021, 1:01 AM
    For break points, you can insert
    debugger;
    statements into code. Those are more reliable across the plugin and engine
  • s

    SeriousBug

    10/31/2021, 1:03 AM
    So if you want to modify the preview to do substitutions, you'll probably want to use the
    visit(...)
    function to traverse the parsed markdown tree in
    dendronPub.ts
    and modify the tree nodes
  • j

    Jens

    10/31/2021, 2:00 AM
    @User Turned out far simpler - the code I was looking for was in
    DendronEngineV2._renderNote
    . Just by adding
    created: DateTime.fromMillis(note.created), updated: DateTime.fromMillis(note.updated)
    to the existing
    fm:
    object, I can now show the created and updated date in my page using nunjucks. Now just to work out how to use nunjucks-date-filter to allow a format pipe.
  • h

    hikchoi

    10/31/2021, 3:18 AM
    Just a heads up that we will be moving away from nunjucks in a very near future
  • j

    Jens

    10/31/2021, 11:09 AM
    Is there a branch I can pull with this? I'd like to work on this a little more and might consider a pull request
  • h

    hikchoi

    10/31/2021, 11:52 AM
    Nothing in progress yet. Nunjucks is pretty useful but it's only used for variable substitution right now so we are pivoting to a lighter approach. If you would like to give it a go I can give you some notes on it πŸ™‚
  • j

    Jens

    10/31/2021, 11:53 AM
    Sure - would love to help if I'm able to
    h
    • 2
    • 6
  • j

    jakab922

    11/06/2021, 4:21 PM
    Hi
  • j

    jakab922

    11/06/2021, 4:22 PM
    So I followed these steps for pluging development https://wiki.dendron.so/notes/64f0e2d5-2c83-43df-9144-40f2c68935aa/
  • j

    jakab922

    11/06/2021, 4:22 PM
    I've made some changes to the code which I believe should have an effect.
  • j

    jakab922

    11/06/2021, 4:23 PM
    But when I hit the command "Run Extension: Local (plugin-core)"
  • j

    jakab922

    11/06/2021, 4:23 PM
    It fires up a new VS Code
  • j

    jakab922

    11/06/2021, 4:23 PM
    And the changes are not reflected there.
  • j

    jakab922

    11/06/2021, 4:24 PM
    Ah I think I know what's the issue
  • j

    jakab922

    11/06/2021, 4:24 PM
    I have the dendron extension already installed in vs code....
  • j

    Jens

    11/06/2021, 7:10 PM
    Run your development and test using a different version of VSCode. Using the Insiders build worked for me. I could then keep my regular VSCode instance with all its extensions, including Dendron.
  • j

    jakab922

    11/06/2021, 7:12 PM
    Thanks! Yep, I ended up installing the insiders version from aur(I'm on Arch). For some reason the nix based version was completely messed up.
  • h

    hrmnjt

    11/08/2021, 5:57 AM
    Hi team, I don't know JS but I intend to help Dendron with documentation PRs. I've already read: - https://wiki.dendron.so/notes/b58801fc-43a9-4d42-a58b-eabc3e8538cb/ - Seen https://github.com/dendronhq/dendron-site Is there a backlog of documentation update issues which I can start with? Maybe you can point me to a place where I can pick my first issuePR
  • k

    kevins8

    11/08/2021, 6:26 AM
    that’s awesome! we are about to kick off a major re-org of our documentation. by the end of the week, we plan on creating the list of backlog items. would appreciate any help you can spare at that time πŸ™ https://github.com/dendronhq/dendron/discussions/1665
  • h

    hrmnjt

    11/08/2021, 7:14 AM
    Great. I'll subscribe to this discussion and will help out when you are working on this.
  • k

    kevins8

    11/08/2021, 4:35 PM
    @User Video walkthrough of nextjs-publishing and how we filter notes as well as generate the mix of static/dynamic html on publish

    https://youtu.be/Uyyb_s74lzMβ–Ύ

  • s

    SeriousBug

    11/09/2021, 8:47 AM
    I'm having a weird issue where a test I wrote causes the entire suite to restart. Has anyone seen anything like this?
    h
    k
    • 3
    • 12
  • h

    hikchoi

    11/10/2021, 3:46 AM
    Just a heads up that this issue has been resolved: https://github.com/dendronhq/dendron/issues/1626 pinging since we talked about this prior πŸ™‚ also as a side, I included
    created
    and
    updated
    to the exposed fm object since I figured that was what motivated you to look into the codebase. It will be formatted with luxon formatting options that you can set in your workspace settings. more on that here: https://wiki.dendron.so/notes/ba97866b-889f-4ac6-86e7-bb2d97f6e376/#frontmatter-variable-substitution
  • l

    Lars Solberg (xeor)

    11/10/2021, 7:25 PM
    https://code.visualstudio.com/blogs/2021/11/08/custom-notebooks - interesting! What would it take for dendron to become filetype agnostic? If vscode gets a multinotebook function, it will definitely be very attractive
  • s

    SeriousBug

    11/10/2021, 7:31 PM
    It actually wouldn't take too much effort to add basic functionality like lookups to notebooks. For more comprehensive features like adding wikilinks into notebooks, that would be quite a bit of work but I think it's an interesting idea.
  • l

    Lars Solberg (xeor)

    11/10/2021, 7:33 PM
    And all the metadata thats in the md file as well..
  • b

    buck

    11/10/2021, 7:56 PM
    hello dendron devs. saw the HN post and wanted to drop a line that i'm a fan of the tool you're building and approach with open source. i'm still working on building the habit of building my second brain, but i'm cheering for ya.
  • s

    ScriptAutomate

    11/10/2021, 11:49 PM
    I'm getting the habit built, myself, and working toward converting my currently-very-distributed-in-format-and-platform second brain into Dendron vaults 🧠 I've really valued seeing what people talk about in #795730630771867737, #749641193322971238 , and other channels to see how others are approaching their management of knowledge
  • s

    ScriptAutomate

    11/11/2021, 12:37 AM
    That does sound interesting. I have several jupyter notebooks , mixed across repos with my markdown notes, for when I've taken workshops and online courses on data science and machine learning. I haven't looked at them in a while. It's been great seeing the progress of VSCode with them since I remember always requiring using the jupyter GUI since the source files are large JSON files full of cell contents. My git history would get noisy with things like the
    ouput
    fields in constant flux πŸ˜… I can see the value of what @User mentioned, in adding basic functionality, like lookups to them, since it would be cool to use the same naming convention in a hierarchy (
    ai.tools.pandas.examples.pynb
    ), but I know jupyterlab allows to export to Markdown files, too, which would play nicer. Keeping something synced would be a challenge, perhaps
  • j

    Joshi

    11/11/2021, 1:58 PM
    I am having an issue while making an https request through plugin, receiving certificate as expired as an error, Although this request works fine with postman and dendron-cli. It was working perfectly fine few days back from plugin as well.
1...848586...108Latest