Skip to content

Instantly share code, notes, and snippets.

@showa-yojyo
Last active April 2, 2022 14:44
Show Gist options
  • Save showa-yojyo/282014d5ff8b667599f728c1d95d279e to your computer and use it in GitHub Desktop.
Save showa-yojyo/282014d5ff8b667599f728c1d95d279e to your computer and use it in GitHub Desktop.
My favorite configuration for conversion from Markdown to reStructuredText.
# pandoc-defaults.yml
# My favorite configuration for conversion from Markdown to reStructuredText.
# General options
verbosity: INFO # ERROR | WARNING | INFO
from: markdown
to: rst-auto_identifiers+east_asian_line_breaks
# Reader options
shift-heading-level-by: -1
# General writer options (for reStructuredText)
standalone: true
eol: lf
columns: 80
table-of-contents: true
toc: true
toc-depth: 2
strip-comments: false
# Options affecting specific writers
# n/a
# Citation rendering
# n/a
# Math rendering in HTML
# ?
# Options for wrapper scripts
# n/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment