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

Include sections into final file depending on section's indentation in main.yaml #19

Open
kvaleev opened this issue Jun 3, 2017 · 1 comment

Comments

@kvaleev
Copy link
Member

kvaleev commented Jun 3, 2017

Sections that are indented into the main.yaml file should be included into a final document with a heading level, that depends on indentation: every indentation level adds an additional level of heading.

For example:

---
chapters:
- intro
- section-main:
    - section_1
    - section_2
...

Here, all headings in section_1 and section_2 files will be increased by one level.

If heading level in the final file will be more than 5 — heading should be replaced with bold.

@Vanderhoof
Copy link
Member

That's a cool feature, we should do it for Pandoc!

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

No branches or pull requests

2 participants