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

feat: preserve language attribute for code blocks #247

Merged
merged 4 commits into from
Jul 19, 2022

Commits on Jul 13, 2022

  1. test: add failing test for language attribute

    Signed-off-by: Mike Fiedler <miketheman@gmail.com>
    miketheman committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    e3c9d92 View commit details
    Browse the repository at this point in the history
  2. feat: preserve lang attribute in markdown

    In order to allow the `lang` attribute on `pre` code blocks, add it to
    the post-syntax highlighting step, and then allow through the sanitizer.
    
    Signed-off-by: Mike Fiedler <miketheman@gmail.com>
    miketheman committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    c3680e8 View commit details
    Browse the repository at this point in the history
  3. test: update tests to include preserved lang

    Signed-off-by: Mike Fiedler <miketheman@gmail.com>
    miketheman committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    7f67b9a View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. Configuration menu
    Copy the full SHA
    d00aa2e View commit details
    Browse the repository at this point in the history