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

Table of content generation does not respect headers in includes #94

Open
paNjii opened this issue Sep 5, 2019 · 1 comment
Open

Table of content generation does not respect headers in includes #94

paNjii opened this issue Sep 5, 2019 · 1 comment

Comments

@paNjii
Copy link

paNjii commented Sep 5, 2019

First off, thanks for this amazing piece of software! I am currently setting up a wiki and would like to utilize the include (markdown) feature in combination with the table of content generation.

The behavior I see currently is as follows.
When declaring the [[TOC]] directive it will not take into account any headers that are specified in one of the include directives.

A small sample:
README.md

# Table of Contents

[[TOC]]

{markdown: DESCRIPTION.md}

DESCRIPTION.md

# Test

In this example, only the Table of Contents header will be included in the generated Table of Contents block. The markdown of the includes is rendered fine. Not sure if this is a limitation of markdown, but I was curious whether this is something that is possible to implement.

Kind regards

@F1LT3R
Copy link
Collaborator

F1LT3R commented Dec 29, 2019

Thanks @paNjii - I will try and look into this when I get the opportunity.

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