asciidoctor / kramdown-asciidoc

A kramdown extension for converting Markdown documents to AsciiDoc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add role to codespan if wrapped in quotes

mojavelinux opened this issue · comments

If a codespan (aka monospaced text) is wrapped in quotes, it's not enough to use unconstrained formatting marks. The formatting marks must also have a role.

Incorrect:

"``foo bar``"

Correct:

"[.code]``foo bar``"

(The role doesn't matter, though .code certainly expresses the intent).