We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c77550 commit 762cdf0Copy full SHA for 762cdf0
index.js
@@ -45,7 +45,7 @@ class MarkdownHeaderButtonElement extends MarkdownButtonElement {
45
super()
46
47
const level = parseInt(this.getAttribute('level') || 3, 10)
48
- if (level > 6) {
+ if (level < 1 || level > 6) {
49
return
50
}
51
0 commit comments