Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Block extension to filter text like: [markdown] -- Filter some text with [Markdown](https://commonmark.org/help/) syntax. -- This is not implemented with a full Markdown parser. See asciidoctor/kramdown-asciidoc#7 with a link to the "naive series of regexes" used as starting point. (And note that we use Open structural context https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/#summary-of-structural-containers with `--` delimiters, and headings don’t work inside these.) This feature is intended for handling OpenAPI specs, which can contain Markdown, however openapi-generator has poor Asciidoc handling OpenAPITools/openapi-generator#11396 so instead we add the block delimiters in the template, and let the block filter handle it.
- Loading branch information