Fix preview rendering

This commit is contained in:
Sauli Anto
2019-10-03 12:43:58 +03:00
parent 6ea1c38e24
commit 2984df0a9a
2 changed files with 14 additions and 9 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ It's possible to implement with engine config. For example, this feature can be
InlineEditor.defaultConfig = {
// ...
math: {
engine: (equation, element, display, previewHack) => {
engine: (equation, element, display, preview) => {
// ...
}
}
@@ -83,7 +83,7 @@ InlineEditor.defaultConfig = {
- __equation__ is equation in TeX format without delimiters.
- __element__ is DOM element reserved for rendering.
- __display__ is boolean. Typesetting should be inline when false.
- __previewHack__ is boolean. Enable preview hack when true. It adds equation element to end of the body and use absolute position.
- __preview__ is boolean. Preview Rendering when true.
### Supported input and output formats