Upstream: https://codeberg.org/karakara/libmfm
Forked from https://github.com/misskey-dev/mfm.rs/tree/parser