Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asciidoc markdown block (merge to prod) #577

Merged
merged 1 commit into from
Jul 1, 2022

Commits on Jul 1, 2022

  1. Asciidoc markdown block

    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.
    Create a block with potentially multiple lines (sub-paragraphs)
    
    * Add extensions doc page
    osfameron committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    a6aa4b5 View commit details
    Browse the repository at this point in the history