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:
parent
fdafe3b947
commit
9f5da92ab4
@ -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 = `
|
||||
// /*
|
||||
|
1732
ReactNativeClient/lib/renderers/MdToHtml/rules/katex_mhchem.js
Normal file
1732
ReactNativeClient/lib/renderers/MdToHtml/rules/katex_mhchem.js
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user