-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
🐛 include setext heading levels (Markdown) #32987
Conversation
@neilsustc, |
Thanks! Looks like there is a small compile error:
|
Updated. It's because I used the wrong var name 😅 |
@@ -65,14 +68,24 @@ export class TableOfContentsProvider { | |||
return toc; | |||
} | |||
|
|||
private static getHeaderLevel(markup: string): number { | |||
if (markup == '=') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two comparisons need to use ===
. I think this is what is causing the Travis build to fail
Thanks! The change should be in the next insiders build |
Fix #32859 and at the same time #32844 (Markdown
slugify
misses backticks).