From 874cce63c8b6b4978b0a389a9d72870b6483068b Mon Sep 17 00:00:00 2001 From: Sauli Anto Date: Fri, 11 Oct 2019 19:26:39 +0300 Subject: [PATCH] Update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 327cf7131..e08b5c5e0 100644 --- a/README.md +++ b/README.md @@ -92,8 +92,8 @@ Styles requires PostCSS like official CKEditor 5 plugins. InlineEditor.defaultConfig = { // ... math: { - engine: 'mathjax', // or katex or function (equation, element, display) => { ... } - outputType: 'script', // or span or math + engine: 'mathjax', // or katex or function. E.g. (equation, element, display) => { ... } + outputType: 'script', // or span forceOutputType: false, // forces output to use outputType enablePreview: true // Enable preview view } @@ -120,7 +120,7 @@ It's possible to implement with engine config. For example, this feature can be InlineEditor.defaultConfig = { // ... math: { - engine: (equation, element, display, preview) => { + engine: ( equation, element, display, preview ) => { // ... } }