-
-
Notifications
You must be signed in to change notification settings - Fork 369
Closed
Labels
remark🦋 type/enhancementThis is great to haveThis is great to have🧑 semver/majorThis is a changeThis is a change
Description
Input:
_`_`_
Actual AST:
{
"type": "paragraph",
"children": [
{
"type": "emphasis",
"children": [
{
"type": "text",
"value": "`"
}
]
},
{
"type": "text",
"value": "`_"
}
]
}
Expected AST:
{
"type": "paragraph",
"children": [
{
"type": "emphasis",
"children": [
{
"type": "inlineCode",
"value": "_"
}
]
}
]
}
Code span backticks have higher precedence than any other inline constructs except HTML tags and autolinks. Thus, for example, this is not parsed as emphasized text, since the second
*
is part of a code span:*foo
*``.
Metadata
Metadata
Assignees
Labels
remark🦋 type/enhancementThis is great to haveThis is great to have🧑 semver/majorThis is a changeThis is a change