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

    p0lyg0n

    09/03/2020, 9:47 PM
    On it
  • k

    kevins8

    09/03/2020, 9:47 PM
    we use remarkable to insert our own markdown additions into the preview. wouldn't be hard to create a custom one for tags (heck, there's probably already one somewhere) https://github.com/jonschlinkert/remarkable
  • k

    kevins8

    09/03/2020, 9:53 PM
    > @User noob.Not sure what I am doing wrong here.RefactorHeirarchyError.noteNotFound Not sure what the requirements for Refactor Heiarachy are. I am pointing to a flat directory @User you found a 🐛 ! currently, we don't handle mixed case in file names very well and we miss normalizing the filename to lower case during rename. will create a fix for this!
  • p

    p0lyg0n

    09/03/2020, 9:53 PM
    > can you create a feature request for tags? https://github.com/dendronhq/dendron/issues/155
  • p

    p0lyg0n

    09/03/2020, 10:22 PM
    @User I figured something out!
  • p

    p0lyg0n

    09/03/2020, 10:22 PM
    Using my initial "tags as links" idea
  • p

    p0lyg0n

    09/03/2020, 10:22 PM
    the note path is included in the link tag's href
  • p

    p0lyg0n

    09/03/2020, 10:22 PM
    Here's the css
    Copy code
    css
    a[href*=".tags."] {
      background: #fff;
      padding: 0 10px;
      border-radius: 4px;
      color: #000;
      display: inline-block;
    }
    a[href*=".tags.business"] {
     background: rgb(36, 89, 233);
     color: #fff;
    }
  • p

    p0lyg0n

    09/03/2020, 10:27 PM
    Looks great in an "index note" as well
  • k

    kevins8

    09/03/2020, 10:29 PM
    pretty 🤩
  • p

    p0lyg0n

    09/03/2020, 10:29 PM
    I should maybe update the issue under the
    Describe alternatives you've considered
    section?
  • k

    kevins8

    09/03/2020, 10:31 PM
    that would be great. if you feel up to it, this would make a great addition to the official
    tips & tricks
    section on the dendron home page. You can click the
    Edit this page on Github
    button at the bottom of the page to do a two click pull request 😉 https://www.dendron.so/notes/692fa114-f798-467f-a0b9-3cccc327aa6f.html
  • k

    kevins8

    09/03/2020, 10:32 PM
    depending on how long it takes us to properly implement tags, I might just refer people to your solution in the meantime 🙂
  • p

    p0lyg0n

    09/03/2020, 10:32 PM
    On it, expect a PR soon
  • p

    p0lyg0n

    09/03/2020, 10:32 PM
    Yeah I feel like it solves my initial "problem" and isn't too hard to implement for the people that really need it
  • k

    kevins8

    09/03/2020, 10:34 PM
    yep, and that's one of the beautiful things about having your note taking live inside vscode and open source projects. you can always find a workaround for whatever it is you need!
  • k

    kevins8

    09/03/2020, 10:35 PM
    ( the goal being for +90% of things to not need a workaround once dendron is mature - in the meanwhile, there's css)
  • p

    p0lyg0n

    09/03/2020, 10:36 PM
    Copy code
    markdown
    ### Colorful tags
    would do ? or maybe
    ### Customize the look of your links
    would be better ?
  • p

    p0lyg0n

    09/03/2020, 10:36 PM
    Copy code
    markdown
    ### Colorful tags
    would do ? or maybe
    ### Customize the look of your links
    would be better ?
  • k

    kevins8

    09/03/2020, 10:37 PM
    hmm, maybe
    Stylized Tags using Custom CSS
    ?
  • p

    p0lyg0n

    09/03/2020, 10:37 PM
    Yep, sounds better
  • p

    p0lyg0n

    09/03/2020, 10:38 PM
    where should I host screenshots ?
  • p

    p0lyg0n

    09/03/2020, 10:38 PM
    Or maybe just one screenshot showing how it looks in my books example
  • k

    kevins8

    09/03/2020, 10:39 PM
    hmm
  • k

    kevins8

    09/03/2020, 10:39 PM
    i currently run a script to sync all screenshots to an s3 bucket
  • p

    p0lyg0n

    09/03/2020, 10:39 PM
    Or maybe I'll just host it on imgur or something, and you put it on the dendron S3 (or whatever you're using) when merging
  • k

    kevins8

    09/03/2020, 10:39 PM
    can you send it here atm? --> https://www.dropbox.com/request/6PuqQuZKAYli0tR95aVc
  • k

    kevins8

    09/03/2020, 10:41 PM
    alternatively, you can checkout the repo here and put it under `vault/assets/images`: https://github.com/dendronhq/dendron-template
  • k

    kevins8

    09/03/2020, 10:42 PM
    i'll figure out a better workflow to do screenshots via the github website 😅
  • p

    p0lyg0n

    09/03/2020, 10:42 PM
    I uploaded on the dropbox link
1...404142...757Latest