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

Fix manpage build with pandoc 2.0 #228

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

aroig
Copy link
Contributor

@aroig aroig commented Dec 2, 2017

Pandoc 2.0 removed -S from its command line arguments.

Also, the check for the availability of markdown_github was broken as pandoc --help no longer prints the list of input formats.

Fixes #227

pandoc 2 has removed -S from the command line. Instead we must add
+smart as an extension to the format.
Pandoc no longer prints input formats in --help, so we cannot detect
availability of markdown_github this way.

There is a --list-input-formats command line argument, but it was
introduced recently.

So, let's check by version. markdown_github was introduced in version
1.10.
@XVilka
Copy link

XVilka commented Jun 19, 2019

@rkitover ping?

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

Successfully merging this pull request may close these issues.

--smart/-S has been removed. Use +smart or -smart extension instead.
2 participants