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

Including CommonMark-tables with inheritHeadingDepth renders the table as text #29

Open
sepulzera opened this issue Feb 12, 2021 · 0 comments

Comments

@sepulzera
Copy link

In my mkdocs project, I am using markdown-include and mkdocs-material.

Let a top-level file be:

# Some heading

{!tables/Some_Table.md!}

And let table/Some_Table.md be:

The following table shows some data about whatever.

| Some first column | Some second column | 
| ----------------- | ------------------ |
| Some text.        | Some more text.    |
  • With inheritHeadingDepth being false, the generated output will be some nice looking HTML-table.
  • With inheritHeadingDepth being true, the generated output will be the actual text, wrapped in <p> elements.

Used versions:

  • mkdocs: 1.1.1
  • mkdocs-material: 6.2.8
  • markdown-include: 0.6.0
  • python: 3.8
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

1 participant