nextjournal / markdown

A cross-platform clojure/script parser for Markdown
ISC License
46 stars 6 forks source link

Extract Emojis from heading IDs #9

Closed zampino closed 1 year ago

zampino commented 1 year ago

Uses https://github.com/mathiasbynens/emoji-test-regex-pattern the same (set of) regex we also used in navbar. Promises to match all of https://www.unicode.org/reports/tr51.

zampino commented 1 year ago

With only matching leading emojis seems to bring performance back to "normal".

zampino commented 1 year ago

I'm using the same regex that we also used in navbar. Should be fine now.