Skip to content
Snippets Groups Projects
Commit 81026a55 authored by marihachi's avatar marihachi
Browse files

implement syntax: inlineCode

parent 2160b614
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ inline
/ spin
/ jump
/ flip
// / inlineCode
/ inlineCode
// / mathInline
// / mention
// / hashtag
......@@ -254,6 +254,17 @@ flip
}
// inline: inlineCode
inlineCode
= "`" content:$(!"`" c:CHAR { return c; })+ "`"
{
return createTree('inlineCode', {
code: content
});
}
// Core rules
CHAR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment