You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking about this a bit more. Does it actually make sense to have two modes:
strict_mode: When set to True it will follow the headings order strictly. You must start writing documents from h1, and cannot skip headings (such as # title1\n### title2\n).
When I was writing the code, I didn't expect this to happen. This is indeed a bug.Please help me fix it.
As for Strict Mode, my idea is that once the above happens, the number will stop from where the disorder has occurred. This applies to situations where you write something like something at the end of the article, rather than want to number.
While writing unit tests, I noticed that:
Will lead to
## three
becoming a<h1>
. (see screenshot below).Is that intended behaviour? I have not enabled
strict_mode
.The text was updated successfully, but these errors were encountered: