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

Markdown includes (inc-markdown) #2

Open
F1LT3R opened this issue Oct 25, 2016 · 2 comments
Open

Markdown includes (inc-markdown) #2

F1LT3R opened this issue Oct 25, 2016 · 2 comments

Comments

@F1LT3R
Copy link
Collaborator

F1LT3R commented Oct 25, 2016

The markserv-inc-markdown includer module should be able to nest infinite recursive markdown files. (Put one markdown file into another). Example:

nest-parent.md

# Nest Example

This document includes nested Markdown.

<!--markdown:nest-child.md-->

nest-child.md

## Nested Content

This content is nested from `nest-child.md`.

output

# Nest Example

This document includes nested Markdown.

## Nested Content

This content is nested from `nest-child.md`.
@sushruth
Copy link

Would it be possible to include only certain section of the nest-child.md ? like

<!--markserv:nest-child#some-heading-partial-unique-->

@F1LT3R
Copy link
Collaborator Author

F1LT3R commented Oct 27, 2016

Interesting. Yes that's possible.

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

No branches or pull requests

2 participants