mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
Add katex option ThrowOnError
As an internal option for now. Katex misbehaves in error situations without a value set.
This commit is contained in:
@@ -37,6 +37,10 @@ type KatexOptions struct {
|
||||
|
||||
// Specifies a minimum thickness, in ems, for fraction lines.
|
||||
MinRuleThickness float64 `json:"minRuleThickness"`
|
||||
|
||||
// If true, KaTeX will throw a ParseError when it encounters an unsupported command.
|
||||
// For internal use only, for now.
|
||||
ThrowOnError bool `json:"throwOnError"`
|
||||
}
|
||||
|
||||
type KatexOutput struct {
|
||||
|
Reference in New Issue
Block a user