https://www.dendron.so/ logo
Join DiscordCommunities
Powered by
# today-i-learned
  • u

    user

    01/21/2022, 12:32 AM
    Thank you! (maybe I should save the link into my daily journal haha)
  • s

    seadude

    01/30/2022, 6:48 AM
    TIL, you can sync a specific subdirectory only from an entire Git repo! - Instead of cloning an entire Git repo in, say,
    Users/me/Documents
    (and the disconnect between my Dendron workspace and the repo contents...) - I can instead clone one subdirectory from the repo (like
    blog-posts/
    !!) to my
    Dendron/vault/blog-posts
    directory! - Git Commands: -
    git clone --depth 1 --sparse <your_git_repo_url>
    -
    cd <repo_name>
    -
    git sparse-checkout set <subdirectory_name
    - Reference: https://stackoverflow.com/a/52269934/5976033
  • s

    seadude

    01/30/2022, 6:51 AM
    (Tested with Azure DevOps repo)
  • p

    p0lyg0n

    01/30/2022, 3:39 PM
    TIL, Google Books has a tool called Ngram Viewer. Could be a very interesting tool for doing research. https://books.google.com/ngrams/
  • p

    p0lyg0n

    01/30/2022, 3:39 PM
    Example
  • p

    p0lyg0n

    01/30/2022, 3:40 PM
    And here are the docs:
  • s

    seadude

    02/03/2022, 3:44 PM
    TIL how to turn off the setting in VS Code that drives me NUTS! - When you click a file from VS Code File Explorer (or Dendron Worskpace), and the file does NOT open in a new VS Code tab, but instead opens in the current tab! - Set the
    workbench.enable.enablePreview
    option to unchecked. - Now each file you click will open a new VS Code tab
  • s

    seadude

    02/03/2022, 7:39 PM
    TIL how to export-to-pdf, presentations created by the [VSCode-Reveal](https://marketplace.visualstudio.com/items?itemName=evilz.vscode-reveal) extension. - Apparently there is a bug in their export functionality. - Used
    npm
    to install [
    decktape
    ](https://github.com/astefanutti/decktape) - *Example cli usage: * - Click
    Open presentation in Browser
    from the extension - Open terminal - From
    dendron/vault/assets/pdfs
    directory, run: -
    decktape --pdf-author "<youir_name>" --pdf-title "<pdf_title>" reveal "http://localhost:<whatever_port#>" <pdf_filename>.pdf
  • s

    seadude

    02/04/2022, 11:48 PM
    TIL the most important thing you can do to make Dendron a part of your life...
    CTRL+L
    !!!! - I'm juuust getting to the point where I STOP looking for files in the VS Code File Explorer. - Its refreshing to CTRL+L and find (and also create) things!!
  • k

    kevins8

    02/04/2022, 11:59 PM
    i find that i have to stop myself using
    ctrl+l
    when browsing regular code 😅
  • s

    seadude

    02/05/2022, 12:03 AM
    Good point! -
    CTRL+L
    for looking up "things" in your Dendron kb -
    CTRL+P
    for looking up "things" in your workspace (I think) -
    CTRL+O
    for looking up "things" outside your workspace but on your machine
  • a

    aleksey

    02/05/2022, 12:09 AM
    Dendron OS
  • s

    seadude

    02/05/2022, 12:09 AM
    Seriously!
  • s

    seadude

    02/05/2022, 4:55 AM
    TIL a great way to show images in my Dendron files: USING HTML TABLES! - As looong as I can get them to render when exporting to PDF!! - In my setup, this looks great IN PREVIEW - BUT Images place into HTML Tables are NOT rendered hwen exporting to PDF Example:
    Copy code
    <table>
        <tr>
            <td style="border: 5px solid black; border-collapse: collapse; padding:0px; border-color: #FAFAFA;"> 
                <img src=".\assets\images\test.png"/> 
            </td>
        </tr>
    </table>
    Looks really nice in Preview. Its super easy to show two (or more) images on the same span using this method too
  • s

    ScriptAutomate

    02/05/2022, 6:16 PM
    Are you using pandoc for PDF exporting? Or what tooling?
  • s

    seadude

    02/05/2022, 6:17 PM
    Dendron Markdown Preview Enhanced
  • s

    seadude

    02/05/2022, 6:18 PM
    From Preview: Right click, Chrome (Puppeteer), PDF
  • s

    seadude

    02/05/2022, 6:19 PM
    Heres a thread on the topic https://discordapp.com/channels/717965437182410783/939556467093176411/939585547175858207
  • a

    aleksey

    02/09/2022, 5:39 PM
    TIL that you can click the emoji reaction bubble to see who left which reactions:
  • k

    kevins8

    02/09/2022, 6:26 PM
    took me a while to figure that out as well 😅
  • u

    user

    02/09/2022, 8:07 PM
    On the mobile app, you can long press the emoji icons.
  • p

    Paul_J

    02/12/2022, 10:48 PM
    very interesting - that's what I'm doing at the moment. have you found any videos of how people have done IJ in Dendron. do you use scratch notes?
  • m

    moksha

    02/13/2022, 3:16 AM
    So I follow what @User does, I use the concept of Buffer notes as a landing point for any raw unformatted thoughts or ideas. End of day I clear out all those ideas where they belong in the heirarchy. For interstitial journal, I use it in the daily journal note by using the 'time' code snippet
  • p

    Paul_J

    02/13/2022, 10:28 AM
    I don't suppose there are any recordings of those kinds of workflows in Dendron
  • s

    seadude

    02/14/2022, 6:02 AM
    Today, with the help of @User and @User , I learned that: 1. You can develop projects (code, etc) AND have your Dendron vault as a companion just by
    File/Add Folder to Workspace
    AND 2. YOU CAN TAG CODE to aid when searching!!
  • s

    seadude

    02/14/2022, 6:03 AM
    - (why didn't I think of that before!?)
  • s

    seadude

    02/14/2022, 6:03 AM
    🤯
  • k

    kevins8

    02/14/2022, 5:01 PM
    if you haven't already, I would also check out our talk at vscode livestream where we introduce this feature:

    https://youtu.be/dW6m4_O0qvQâ–¾

  • k

    kevins8

    02/14/2022, 5:01 PM
    i did a talk about my workflow here -> https://wiki.dendron.so/notes/fzHazEFWTpUVexmv.html
  • s

    seadude

    02/14/2022, 5:05 PM
    Listening now
1234567Latest