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

[techdocs] Ignore comments from code blocks in toc #227

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

ricoberger
Copy link
Member

This commit fixes a bug, where the comment from a code block which
starts with "##" was displayed in the table of contents of a page. We
are not ignoring these lines now by checking if we are inside a code
block while looping through the lines of a page.

This commit fixes a bug, where the comment from a code block which
starts with "##" was displayed in the table of contents of a page. We
are not ignoring these lines now by checking if we are inside a code
block while looping through the lines of a page.
@ricoberger ricoberger merged commit 24b3509 into main Dec 9, 2021
@ricoberger ricoberger deleted the techdocs-ignore-comments-for-toc branch December 9, 2021 17:36
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