You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently link-modifier only works with attached modifiers:
word:*bold*
But there are more places where we may need it like anchor+link case:
[anchor]{https://i-want-link-here.com}[link?]
Parser can't know if it is link or anchor after [anchor]. If we give right precedence here, user can't put link right after anchor.
[anchor](){https://i-want-link-here.com}[link]
Placing empty attribute might work, but this will put additional useless information to [anchor] considering empty attributes set can mean something (reference: #38)
So let's redefine link-modifier to ": character between two non-whitespace characters".
Now every : character between non-whitespace characters will work as non-printable divider.
related: #28
Currently link-modifier only works with attached modifiers:
But there are more places where we may need it like anchor+link case:
Parser can't know if it is link or anchor after
[anchor]
. If we give right precedence here, user can't put link right after anchor.Placing empty attribute might work, but this will put additional useless information to
[anchor]
considering empty attributes set can mean something (reference: #38)So let's redefine link-modifier to "
:
character between two non-whitespace characters".Now every
:
character between non-whitespace characters will work as non-printable divider.word:word
wordword
word: word
word: word
word:*bold*
word<strong>bold</strong>
[anchor]:{https://example.com}[link]
<a href="#anchor">anchor</a><a href="https://example.com">link</a>
The text was updated successfully, but these errors were encountered: