Skip to content
New issue

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

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

Already on GitHub? # to your account

Add support to Pandoc >= 2.11.2 #1099

Closed
wants to merge 1 commit into from
Closed

Conversation

rgaiacs
Copy link
Contributor

@rgaiacs rgaiacs commented Jul 11, 2023

Pandoc replaced --atx-headers with --markdown-headings=atx in 2.11.2 (2020-11-19). Latest release of Pandoc is 3.1.5 (2023-07-07) and --atx-headers is not supported any more!

pandoc --from markdown --to html --atx-headers <<EOF
# Foo
EOF

returns

Unknown option --atx-headers.
Try pandoc --help for more information.

This pull request updates #982 to support --atx-headers and --markdown-headings=atx.

Note: Quarto is using bundling Pandoc 3.1.2.

Pandoc replaced `--atx-headers` with `--markdown-headings=atx`.
@mwouts
Copy link
Owner

mwouts commented Jul 28, 2023

Thank you @rgaiacs for this! I'll integrate this for the next release. Do you think you could redo your commit using the pre-commit (pre-commit install)? And add an entry to docs/CHANGELOG.md? Thanks!

This was referenced Jul 28, 2023
@mwouts
Copy link
Owner

mwouts commented Jul 30, 2023

The commit above will be merged at #1110

@mwouts mwouts closed this Jul 30, 2023
@rgaiacs
Copy link
Contributor Author

rgaiacs commented Jul 31, 2023

Thanks! You were faster than me.

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

Successfully merging this pull request may close these issues.

2 participants