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

dokkaGfm supports code blocks, inline code. #2485

Merged
merged 1 commit into from May 4, 2022
Merged

dokkaGfm supports code blocks, inline code. #2485

merged 1 commit into from May 4, 2022

Commits on May 3, 2022

  1. dokkaGfm supports code blocks, inline code.

    Fixes #2477.
    
    Inline code, text that is nested within a pair of backquotes,
    is now converted into GitHub Flavored Markdown (gfm) without
    stripping out the backquotes. For example:
    
        The parameter `sum` must be a non-negative real number.
    
    Code blocks, which are any number of lines of literal text
    between triple-backquotes, and an optional programming language
    name, are now preserved. If absent, the programming language
    is assumed to be "kotlin". This follows the behavior of the
    html renderer. For example:
    
        Here is an example of calling the function:
        ```kotlin
        val sum = addThemUp(left, right)
        ```
    cosinekitty committed May 3, 2022
    Copy the full SHA
    cf57b6a View commit details
    Browse the repository at this point in the history