Fsnotes: [REQ] Full Wikilink Syntax support

Created on 26 Feb 2019  路  5Comments  路  Source: glushchenko/fsnotes

Wikilinks currently work in the basic syntax of [[Name of Note]].
This means they are always rendered with that name inside of text. Full support would mean that one could write [[Description|Name of Note]].

request

Most helpful comment

Ah, I did not know they were in nvALT. Good suggestion

All 5 comments

This is not valid markdown, which is what FSN uses, but I wonder if it would be compatible.

Wikilinks are not included in the base Markdown spec and also not included in CommonMark. As far as I'm aware, Brett introduced them as a nvAlt-specific feature.
And since it's already not standard markdown, I thought it would be great to add this.

Ah, I did not know they were in nvALT. Good suggestion

Full support would mean that one could write [[Description|Name of Note]].

This is a good idea, but I believe the correct syntax is the other way around:
[[Note|Label]]

https://en.wikipedia.org/wiki/Hyperlink#Wikis

That鈥檚 a bit annoying though, because standard markdown links behave the other way around:

[description](target)
[[target|description]]
Was this page helpful?
0 / 5 - 0 ratings

Related issues

sloria picture sloria  路  3Comments

pvinis picture pvinis  路  4Comments

gmenzel picture gmenzel  路  3Comments

floodfish picture floodfish  路  4Comments

ebsmv picture ebsmv  路  4Comments