0.0.4 • Published 5 years ago

ckeditor5-katex-math v0.0.4

Weekly downloads
4
License
MIT
Repository
-
Last release
5 years ago

Build Status Quality Gate Status

ckeditor5-katex-math

Katex math plugin for ckeditor 5. Example folder contains demo showing the plugin in action (see next section), content is not needed for plugin to work. But remember to include katex css styles and fonts to your application, plugin doesn't do that for you.

Math equations are added to HTML in following form:

<span class='math-text'>f=x*2</span>

Note: WIP project, so plugin is somewhat useless for the time being.

Edit UI

To try out the plugin locally:

Run the following commands:

npm ci\ cd example\ npm ci\ npm run start:dev

Then open browser to address: http://localhost:8080 (or 8081, if 8080 is reserved)

Or setting up docker test/dev environment:

To just start up the provided example:

docker build -t ck5-katex-math:latest .\ docker run -p 8080:8080 ck5-katex-math:latest

To access image:

docker run -it ck5-katex-math:latest /bin/bash