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

Support for wikilinks in gfm/commonmark #9164

Open
AndreiPashkin opened this issue Nov 2, 2023 · 1 comment
Open

Support for wikilinks in gfm/commonmark #9164

AndreiPashkin opened this issue Nov 2, 2023 · 1 comment

Comments

@AndreiPashkin
Copy link

Currently, using version 3.1.8 I'm having a hard time converting a Markdown document with wikilinks to a Markdown document without wikilinks using gfm input format. But at the same time it works if I replace gfm with markdown.

Example source file:

# Test

![[Attachments/test.png]]

And the Pandoc command is like this: pandoc -f gfm+wikilinks_title_after_pipe -t gfm --resource-path='<my-attachments-path' --columns=120 -o out.md in.md

And the result is:

# Test

\![Attachments/test.png](Attachments/test.png "wikilink")

Related to #8853.

@jgm
Copy link
Owner

jgm commented Nov 2, 2023

Clarification: wikilinks work fine with gfm, but the wikilinks extensions for gfm/commonmark don't support putting a ! in front of a wikilink to make it an image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants