2.1.8 • Published 7 months ago

semantic-math-editor v2.1.8

Weekly downloads
65
License
see license in LI...
Repository
-
Last release
7 months ago

semantic-math-editor

npm

Editing math formulas on the web

Official site: https://math-editor.com/semanticEditor.html

Developer Version Installation:

   npm i semantic-math-editor

Getting started:

HTML:

<html>

<head>
    <meta http-equiv="Content-Type" content="text/html" charset="utf-8" />
    <meta name="viewport" content="width=device-width">
    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.2/dist/katex.min.css"
          integrity="sha256-uT5rNa8r/qorzlARiO7fTBE7EWQiX/umLlXsq7zyQP8=" crossorigin="anonymous">
  
    <script src="node_modules/semantic-math-editor/index.bundle.js"></script> 
    
</head>
<body>
   <div id="editor"/> 
   
   <script>
      let editor = SemanticMathEditor.createEditor(document.getElementById("editor"));
   </script>
</body>

Use from Typescript:

import {createEditor,MathEditor} from "semantic-math-editor";

const editor = createEditor(document.getElementById('my-id'));

The snippet suppose you have a div with id=my-id in your HTML like this:

<html>

<head>
    <meta http-equiv="Content-Type" content="text/html" charset="utf-8" />
    <meta name="viewport" content="width=device-width">
    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.2/dist/katex.min.css"
          integrity="sha256-uT5rNa8r/qorzlARiO7fTBE7EWQiX/umLlXsq7zyQP8=" crossorigin="anonymous">

</head>
<body>
   <div id="my-id"/> 

</body>

Developers documentation:

https://softaria.github.io/semantic-math-editor/

2.1.8

7 months ago

2.1.7

9 months ago

2.1.2

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.2.0

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

2.0.0-alpha.4

4 years ago

2.0.0-alpha.3

4 years ago

2.0.0-alpha.2

4 years ago

2.0.0-alpha

4 years ago

1.20.6

4 years ago

1.20.5

4 years ago

1.20.4

4 years ago

1.20.3

4 years ago

1.20.2

4 years ago