jonathanyeung / mark-sharp

Mark Sharp WYSIWYG Markdown Editor for VS Code
18 stars 0 forks source link

Show wikilinks differently from normal Markdown links #10

Open viktomas opened 1 month ago

viktomas commented 1 month ago

Is your feature request related to a problem? Please describe.

I use mark sharp to show documents from my knowledge base. This knowledge base relies heavily on wikilinks [[]] to link between documents.

Currently, mark-sharp renders wikilinks the same way as it renders standard markdown links. At first glance, I don't know if the link points to my knowledge base or outside internet.

Describe the solution you'd like All other tools I'm aware of keep the [[]] brackets in the rendered version. This way, it's obvious that the links point to my local documents. Visually, the brackets can be faded (see screenshots from logseq and obsidian)

I think most people who use wikilinks would be familiar with the rendering that keeps the brackets in the rendered version.

Describe alternatives you've considered We could also make the links different color, but I'm more used to seeing the [[]].

Additional context

Logseq

image

https://docs.logseq.com/#/page/keyboard%20shortcuts

Obsidian

image