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

Fix trailing newline in code blocks #113

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Commits on Mar 17, 2024

  1. Fix trailing newline in code blocks

    Given this input:
    
    > ```
    > some code
    > ```
    
    We were adding an additional newline character before the code close
    tag even though the code block by definition already includes that
    newline.
    
    e.g., blackfriday is hadning us `some code\n` as the literal content of
    the code block.
    
    Signed-off-by: Brian Goff <cpuguy83@gmail.com>
    cpuguy83 committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    fd6bc09 View commit details
    Browse the repository at this point in the history