1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Desktop, Mobile: Added support for chemical equations using mhchem for Katex

This commit is contained in:
Laurent Cozic 2019-10-13 00:22:24 +02:00
parent fdafe3b947
commit 9f5da92ab4
2 changed files with 1735 additions and 0 deletions

View File

@ -7,6 +7,9 @@ const Setting = require('lib/models/Setting');
var katex = require('katex');
const katexCss = require('lib/csstojs/katex.css.js');
const md5 = require('md5');
const mhchemModule = require('./katex_mhchem.js');
katex = mhchemModule(katex);
// const style = `
// /*

File diff suppressed because it is too large Load Diff