diff --git a/src/transform/plugins/anchors/index.ts b/src/transform/plugins/anchors/index.ts index 6a1b65fe..83b86f86 100644 --- a/src/transform/plugins/anchors/index.ts +++ b/src/transform/plugins/anchors/index.ts @@ -124,7 +124,7 @@ const index: MarkdownItPluginCb = (md, options) => { } else { id = slugify(title, { lower: true, - remove: /[*+~.()'"!:@`ь]/g, + remove: /[*+~.()'"!:@`ь?]/g, }); ghId = slugger.slug(title); }