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 47b0330 commit f0c9d5eCopy full SHA for f0c9d5e
crates/tree-sitter-qmd/common/common.js
@@ -122,6 +122,8 @@ module.exports.rules = {
122
)),
123
commonmark_name: $ => token(prec(1, /[a-zA-Z_][a-zA-Z0-9_\-.]*/)),
124
id_specifier: $ => /[#][a-zA-Z0-9_\-.]+/,
125
+ // we're slightly more permissive here than pandoc, which
126
+ // requires class specifiers to start with a letter
127
class_specifier: $ => /[.][a-zA-Z0-9_\-][a-zA-Z0-9_\-.]*/,
128
129
commonmark_attribute: $ => prec(3, prec.dynamic(2, seq(
0 commit comments