Move mention macro into a goldmark-parser/renderer

This commit is contained in:
Manuel Rüger
2026-02-08 00:28:36 +01:00
parent b85e40402c
commit e294a7317e
14 changed files with 160 additions and 46 deletions

15
testdata/mention.md vendored Normal file
View File

@@ -0,0 +1,15 @@
Hello @{username}!
Unclosed @{mention
Not a mention @{}
Another one @{name}
Multiple @{one} and @{two}
In a link [mention @{me}](http://example.com)
In a code `@{username}`
In a block:
```
@{username}
```
Indented:
@{username}