aboutsummaryrefslogtreecommitdiff
path: root/markdown/ast_modifier.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-12-13 18:11:04 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2025-12-13 18:11:04 +0100
commit48311424ba2eaac254864c008b6d18e8510f827d (patch)
treedbf20dca933996cf253fe2d110d8381b0c407b2d /markdown/ast_modifier.go
parentaea07c141b3a2448ea367ad80ad5e12d04a78df7 (diff)
style(markdown): rename header into heading
Diffstat (limited to 'markdown/ast_modifier.go')
-rw-r--r--markdown/ast_modifier.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/ast_modifier.go b/markdown/ast_modifier.go
index 635fbc0..7672c0c 100644
--- a/markdown/ast_modifier.go
+++ b/markdown/ast_modifier.go
@@ -68,7 +68,7 @@ func modifier(lxs *lexers) (*astModifier, error) {
var s string
for lxs.Next() {
switch lxs.Current().Type {
- case lexerLiteral, lexerHeader, lexerList:
+ case lexerLiteral, lexerHeading, lexerList:
s += lxs.Current().Value
case lexerModifier:
if mod.super && []rune(mod.symbols)[0] == []rune(lxs.Current().Value)[0] &&