No matching definitions.

tur/markdown/slug-data

stdlib/markdown/slug-data.tur

the Unicode data the heading-id rules need: NFKD's ASCII, and the combining marks.

GENERATED by tools/gen-md-slug-data.py -- do not edit; regenerate. For each of the 2166 code points past ASCII whose compatibility decomposition holds ASCII characters, those characters (python-markdown's rule); and the combining marks, Mn, Mc and Me (GitHub's). The source is the Unicode Character Database that tools/fetch-ucd.sh pins: Unicode 16.0.0, ICU release-76-1.

The C below is also src/turi/md_slug_data.inc, which the interpreter compiles in and registers as natives over the wrappers.

Since: markdown-library-plan M3

defn

markdown/-nfkd-ascii__

(markdown/-nfkd-ascii__ [cp :int k :int] :int)

internal: byte k of the ASCII that NFKD leaves of code point cp, or -1 past its end.

defn

markdown/-mark__

(markdown/-mark__ [cp :int] :int)

internal: 1 when code point cp is a combining mark (Mn, Mc or Me), else 0.