Closed rgaiacs closed 1 year ago
Consider mwe.md:
mwe.md
# Minimal Example of Tutorial as README foo
pandoc -f markdown -t markdown --shift-heading-level-by=-1 -s mwe.md produces
pandoc -f markdown -t markdown --shift-heading-level-by=-1 -s mwe.md
--- title: Minimal Example of Tutorial as README --- foo
which is the desired output.
Resolved in https://github.com/GESIS-Methods-Hub/methodshub/pull/102
Consider
mwe.md
:pandoc -f markdown -t markdown --shift-heading-level-by=-1 -s mwe.md
produceswhich is the desired output.