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
The first comment block in the Sass partial is used to denote the <h1> for the style guide page.
If a blank line is added after the opening comment block like so...
/*
My Module
=========
*/
...then the <h1> title is used in the dropdown navigation rather than the Sass partial name i.e. My Module appears in the navigation rather than _my-module.
However if that extra blank line is not added after the opening comment block e.g.
/*
My Module
=========
*/
then the Sass partial name is not replaced by this title and remains as the Sass partial name.
I think zero, one or many blank lines should be permissible in the opening comment block before the title.
The text was updated successfully, but these errors were encountered:
Have amended the pattern matching to parse headings post-Markdown. Following cases have been tested and found to output properly both in-page and in-navigation:
The first comment block in the Sass partial is used to denote the
<h1>
for the style guide page.If a blank line is added after the opening comment block like so...
...then the
<h1>
title is used in the dropdown navigation rather than the Sass partial name i.e.My Module
appears in the navigation rather than_my-module
.However if that extra blank line is not added after the opening comment block e.g.
then the Sass partial name is not replaced by this title and remains as the Sass partial name.
I think zero, one or many blank lines should be permissible in the opening comment block before the title.
The text was updated successfully, but these errors were encountered: