diff options
| author | Albert Krewinkel <albert@zeitkraut.de> | 2022-12-15 21:19:48 +0100 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-01-15 10:46:55 -0800 |
| commit | ca6d4bfa490349e7a4dfeee05119427a1c5ace6c (patch) | |
| tree | 462ab8e861e5447cb72f68b4d186780514c90f2c /pandoc-lua-engine/src | |
| parent | c71d476fa6126a6fe9095c67838e452956249df4 (diff) | |
Markdown, CommonMark: add support for wiki links. [API change]
Adds the Markdown/CommonMark extensions `wikilinks_title_after_pipe` and
`wikilinks_title_before_pipe`. The former enables links of style `[[Name
of page|Title]]` and the latter `[[Title|Name of page]]`. Titles are
optional in both variants, so this works for both:
`[[https://example.org]]`, `[[Name of page]]`.
The writer is modified to render links with title `wikilink` as a
wikilink if a respective extension is enabled.
Pandoc will use `wikilinks_title_after_pipe` if both extensions are
enabled.
Closes: #2923
Diffstat (limited to 'pandoc-lua-engine/src')
0 files changed, 0 insertions, 0 deletions
