mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-05 04:19:59 -06:00
docs(README): Format with prettier
This commit is contained in:
26
README.md
26
README.md
@@ -161,19 +161,19 @@ InlineEditor.defaultConfig = {
|
||||
|
||||
- `katexRenderOptions` - pass [options](https://katex.org/docs/options.html).
|
||||
|
||||
```js
|
||||
InlineEditor.defaultConfig = {
|
||||
// ...
|
||||
math: {
|
||||
engine: 'katex'
|
||||
katexRenderOptions: {
|
||||
macros: {
|
||||
"\\neq": "\\mathrel{\\char`≠}",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
```
|
||||
```js
|
||||
InlineEditor.defaultConfig = {
|
||||
// ...
|
||||
math: {
|
||||
engine: 'katex'
|
||||
katexRenderOptions: {
|
||||
macros: {
|
||||
"\\neq": "\\mathrel{\\char`≠}",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
**Custom typesetting**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user