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

markup/goldmark: Add the Hugo Goldmark Extras "delete" extension #12604

Merged
merged 1 commit into from
Jun 18, 2024

Commits on Jun 17, 2024

  1. markup/goldmark: Add the Hugo Goldmark Extras "delete" extension

    With Goldmark v1.7.1 and earlier, the Goldmark "strikethrough" extension was
    triggered by wrapping text within a pair of double-tilde characters. With
    Goldmark v1.7.2 and later, to provide full GFM compatibility, the Goldmark
    "strikethrough" extension is triggered by wrapping text within a pair of
    single- or double-tilde characters.
    
    This change created a conflict with the Hugo Goldmark Extras "subscript"
    extension.
    
    When enabling the Hugo Goldmark Extras "subscript" extension, if you
    want to render subscript and strikethrough text concurrently, you must:
    
    1. Disable the Goldmark "strikethrough" extension
    2. Enable the Hugo Goldmark Extras "delete" extension
    
    Closes gohugoio#12597
    jmooring committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    33300b8 View commit details
    Browse the repository at this point in the history