Math: emit MathML beside the KaTeX so screen readers can read it #19
1 changed files with 2 additions and 1 deletions
|
|
@ -81,7 +81,8 @@ const config: QuartzConfig = {
|
|||
Plugin.GitHubFlavoredMarkdown(),
|
||||
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
|
||||
Plugin.Description(),
|
||||
Plugin.Latex({ renderEngine: "katex" }),
|
||||
// MathML beside the visible KaTeX: screen readers read it, KaTeX hides it visually.
|
||||
Plugin.Latex({ renderEngine: "katex", katexOptions: { output: "htmlAndMathml" } }),
|
||||
],
|
||||
filters: [Plugin.RemoveDrafts()],
|
||||
emitters: [
|
||||
|
|
|
|||
Loading…
Reference in a new issue