GESIS-Methods-Hub / minimal-example-readme

Minimal Example of Tutorial as README
GNU Affero General Public License v3.0
0 stars 0 forks source link

Use `--shift-heading-level-by=-1` #2

Closed rgaiacs closed 1 year ago

rgaiacs commented 1 year ago

Consider mwe.md:

# Minimal Example of Tutorial as README

foo

pandoc -f markdown -t markdown --shift-heading-level-by=-1 -s mwe.md produces

---
title: Minimal Example of Tutorial as README
---

foo

which is the desired output.

rgaiacs commented 1 year ago

Resolved in https://github.com/GESIS-Methods-Hub/methodshub/pull/102