Skip to content

Change header level for included files.#3

Closed
dbaynard wants to merge 6 commits into
steindani:masterfrom
dbaynard:develop
Closed

Change header level for included files.#3
dbaynard wants to merge 6 commits into
steindani:masterfrom
dbaynard:develop

Conversation

@dbaynard

Copy link
Copy Markdown

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
Copy Markdown
Author

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

@dbaynard

dbaynard commented Jan 7, 2017

Copy link
Copy Markdown
Author

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.

1 participant