Skip to content

switching to goldmark #56

@karelbilek

Description

@karelbilek

Hello,

blackfriday is too buggy and annoying. :) there is a new go-based markdown parser goldmark, now used in huge instead of blackfriday

https://github.com/yuin/goldmark

we have our own fork of markdownfmt, that uses goldmark now. (And changed a few decisions - instead of 1.[tab]list, we just use 1.[space]list- that we can afford now that we don't use blackfriday with its weird list handling)

unfortunately, we have some hacky and ineffective stuff at some points, as one of our usecases is being able to render just some nodes as bytes. And we explicitly don't support lists inside blockquotes, because I was too lazy to do that

Still it's here

https://github.com/Kunde21/markdownfmt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions