| 1 | import type { PluggableList } from "unified"; |
| 2 | import remarkGfm from "remark-gfm"; |
| 3 | import remarkMath from "remark-math"; |
| 4 | import { remarkMathPolicy } from "./remarkMathPolicy"; |
| 5 | import { remarkLocalPathLinks } from "../lib/localPathLinks"; |
| 6 | |
| 7 | // One shared parser policy keeps live Markdown and session exports identical. |
| 8 | // singleTilde is off because "500~1000" is a range; only ~~ strikes through. |
| 9 | export const reasonixRemarkPlugins = [[remarkGfm, { singleTilde: false }], remarkMath, remarkMathPolicy, remarkLocalPathLinks] satisfies PluggableList; |
| 10 | export { reasonixRehypePlugins } from "./rehypeReasonixKatex"; |
| 11 |