Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown, CommonMark: add support for wiki links. [API change] #7705

Merged
merged 1 commit into from
Jan 15, 2023

Commits on Dec 15, 2022

  1. 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: jgm#2923
    tarleb committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    10c9c34 View commit details
    Browse the repository at this point in the history