We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current code doesn't care about a neighborhood level but only cares about the level difference. It means ### may be possible to appear after #.
###
#
# single_gen.py .... 92: def append_toc(self, head, level): 93: # if (self.prev_level + 1) == level: # new child 94: if self.prev_level < level: # new child 95: pass ...
However, the README only describes the strict rules below:
... (Note) If you skip the title level of the markdown marked with #, an error will occur. In other words, the subtitle of ## must be ###. ...
Soft examples like below are much more flexible, so we need to test this.
# Title ### Subtitle1 ### Subtitle2
The text was updated successfully, but these errors were encountered:
On second thought, this example below doesn't make sense because it will crash an indentation of ToC.
So I revert the code from self.prev_level < level to (self.prev_level + 1) == level and close this issue.
self.prev_level < level
(self.prev_level + 1) == level
Sorry, something went wrong.
Close #5
ae4dc5a
Successfully merging a pull request may close this issue.
The current code doesn't care about a neighborhood level but only cares about the level difference.
It means
###
may be possible to appear after#
.However, the README only describes the strict rules below:
Soft examples like below are much more flexible, so we need to test this.
The text was updated successfully, but these errors were encountered: