Skip to content

Conversation

andrewcarver
Copy link

Addresses a problem in the grammar: As it stands, the regex in rule #quote-paragraph will not match any block-attribute-list that contains, itself, an inline macro -- such as a URL macro or a bibliographic-citation macro. Downstream from that rule, there are weaknesses also in the #block-attribute-inner rule. The fixes I've applied here are based on earlier discussion of this whole matter in atom-language-asciidoc PR 197 -- where there are screen-shots and syntax-examples.

Resolves #767.

As it stands, the regex in #quote-paragraph will not match any block-attribute-list that contains, itself, an inline macro -- such as a URL macro or a bibliographic-citation macro. Downstream from that rule, there are weaknesses also in the #block-attribute-inner rule. The fixes I've applied here are based on earlier discussion of this whole matter at asciidoctor/atom-language-asciidoc#197 -- where there are screen-shots and syntax-examples (too bad I was barking up the wrong tree ... Atom instead of VS Code!!).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Grammar rule won't match block-attribute-list that contains an inline macro

1 participant