mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-30 03:32:26 +08:00
docs(README): Format with prettier
This commit is contained in:
parent
dcae401b46
commit
b37df868b0
26
README.md
26
README.md
@ -161,19 +161,19 @@ InlineEditor.defaultConfig = {
|
|||||||
|
|
||||||
- `katexRenderOptions` - pass [options](https://katex.org/docs/options.html).
|
- `katexRenderOptions` - pass [options](https://katex.org/docs/options.html).
|
||||||
|
|
||||||
```js
|
```js
|
||||||
InlineEditor.defaultConfig = {
|
InlineEditor.defaultConfig = {
|
||||||
// ...
|
// ...
|
||||||
math: {
|
math: {
|
||||||
engine: 'katex'
|
engine: 'katex'
|
||||||
katexRenderOptions: {
|
katexRenderOptions: {
|
||||||
macros: {
|
macros: {
|
||||||
"\\neq": "\\mathrel{\\char`≠}",
|
"\\neq": "\\mathrel{\\char`≠}",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
**Custom typesetting**
|
**Custom typesetting**
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user