gitlab-org--gitlab-foss/changelogs/unreleased/disable-throwOnError-in-katex.yml
Jakub Jirutka 2efadce5e7 Disable throwOnError in KaTeX to reveal user where is the problem
From KaTeX documentation:

> throwOnError: boolean.  If true, KaTeX will throw a ParseError when
> it encounters an unsupported command.  If false, KaTeX will render
> the unsupported command as text in the color given by errorColor.
> (default: true)

It's better to render the formula and highlight unsupported commands than
just give up and render whole formula as a code; users are confused and
don't know what's wrong.
2018-01-24 19:17:54 +01:00

5 lines
132 B
YAML

---
title: Disable throwOnError in KaTeX to reveal user where is the problem
merge_request: 16684
author: Jakub Jirutka
type: other