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
This rule is behaving as documented (a top level heading must be on the first line), but I agree that being preceeded by a blank line doesn't seem like it should disable the rule.
The error MD025 "Multiple top-level headings in the same document" should trigger when there is more than one heading level 1 in the document.
However, if there are empty and/or comment lines before the first heading, the error does not trigger.
Example with an empty line and a comment
In this example, the comment is to ignore Title in the generation of the table of content by the extension Markdown All in One, but any comment will do.
The error can be reproduced with any amount of comment lines or empty lines before the first heading.
The text was updated successfully, but these errors were encountered: