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

Change header level for included files. #3

Closed
wants to merge 6 commits into from

Conversation

dbaynard
Copy link

Use include-indented or { .include header-change=1} to increase the header level for included files.

Also adds a stack.yaml and increments the release number to 0.0.2.

As to how it works, it carries an extra parameter for the change in header level, defaulting to 0, and applies it to every header block in the markdown files that get read in.

The use case is a set of files that can used alone or be included nested in a larger document.

*   Increase the header level of included files by 1, by using
   `include-indented` rather than just `include`.
*   Add example to test/input.md
@dbaynard
Copy link
Author

The indenting option now includes the title of the included file as a header.

@dbaynard
Copy link
Author

dbaynard commented Jan 7, 2017

Replaced with #9

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

Successfully merging this pull request may close these issues.

None yet

1 participant