mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 07:45:51 +01:00
Fix readme indentations
This commit is contained in:
26
README.md
26
README.md
@@ -7,14 +7,14 @@ This is the best* TeX-based mathematical plugin for CKEditor 5. You can use it t
|
|||||||
- [Screenshots](#screenshots)
|
- [Screenshots](#screenshots)
|
||||||
- [Examples](#examples)
|
- [Examples](#examples)
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
* [Styles for Lark theme](#styles-for-lark-theme)
|
* [Styles for Lark theme](#styles-for-lark-theme)
|
||||||
- [Configuration & Usage](#configuration--usage)
|
- [Configuration & Usage](#configuration--usage)
|
||||||
* [Plugin options](#plugin-options)
|
* [Plugin options](#plugin-options)
|
||||||
* [Available typesetting engines](#available-typesetting-engines)
|
* [Available typesetting engines](#available-typesetting-engines)
|
||||||
* [Supported input and output formats](#supported-input-and-output-formats)
|
* [Supported input and output formats](#supported-input-and-output-formats)
|
||||||
- [Paste support](#paste-support)
|
- [Paste support](#paste-support)
|
||||||
* [From plain text](#from-plain-text)
|
* [From plain text](#from-plain-text)
|
||||||
* [From Microsoft Word](#from-microsoft-word)
|
* [From Microsoft Word](#from-microsoft-word)
|
||||||
- [Preview workaround](#preview-workaround)
|
- [Preview workaround](#preview-workaround)
|
||||||
- [Todo](#todo)
|
- [Todo](#todo)
|
||||||
|
|
||||||
@@ -25,8 +25,8 @@ This is the best* TeX-based mathematical plugin for CKEditor 5. You can use it t
|
|||||||
- Multiple typesetting engines
|
- Multiple typesetting engines
|
||||||
- Have multiple input and output format
|
- Have multiple input and output format
|
||||||
- Paste support
|
- Paste support
|
||||||
- from plain text
|
- from plain text
|
||||||
- from Microsoft Word
|
- from Microsoft Word
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||

|

|
||||||
@@ -84,13 +84,13 @@ Styles requires PostCSS like official CKEditor 5 plugins.
|
|||||||
### Plugin options
|
### Plugin options
|
||||||
```js
|
```js
|
||||||
InlineEditor.defaultConfig = {
|
InlineEditor.defaultConfig = {
|
||||||
// ...
|
// ...
|
||||||
math: {
|
math: {
|
||||||
engine: 'mathjax', // or katex or function (equation, element, display) => { ... }
|
engine: 'mathjax', // or katex or function (equation, element, display) => { ... }
|
||||||
outputType: 'script', // or span or math
|
outputType: 'script', // or span or math
|
||||||
forceOutputType: false, // forces output to use outputType
|
forceOutputType: false, // forces output to use outputType
|
||||||
enablePreview: true // Enable preview view
|
enablePreview: true // Enable preview view
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user