Expand description
normalize + preprocess pipeline, ported from
markmend/core/src/preprocess/index.ts and vendored/markdown-utils.ts.
Structs§
Functions§
- normalize
- preprocess
- Ordered preprocess steps — order matters (ported from
DEFAULT_PREPROCESS_STEP_NAMES). - preprocess_
latex /\\\[(.*?)\\\]/->$$...$$(single-line bracket math)/\\\[([\s\S]*?)\\\]/->$$...$$(block bracket math)/\\\((.*?)\\\)/->$$...$$(paren math)/(^|[^\\])\$(.+?)\$/->$1$$$2$(dollar math)