Add mhchem extension (#1436)

* A proposal for support of mhchem

* Create extension

* Add index

* Remove arrow function

* Fix lint errors in macros.js

* Remove mhchem from build

* Move code from macros.js to mhchem.js

* Add minified mhchem

* Remove arrow head mods. Disable eslint.

* Fix space handling

* Update code to mhchem v3.3.0

* Tweak arrows to reduce diff

* Raise \tripledash

* Edit docs and webpack

* Update package.json

* Remove wrap. Remove manual.

* Correct second brush stroke in \xrightleftarrows

* Added patch file

* Add import line

* Add mhchem to eslint ignore
This commit is contained in:
Ron Kok
2018-11-24 15:52:25 -08:00
committed by Kevin Barabash
parent 3dfd17d9b4
commit 64745b5c8a
9 changed files with 1962 additions and 6 deletions

View File

@@ -25,6 +25,10 @@ const targets /*: Array<Target> */ = [
entry: './contrib/auto-render/auto-render.js',
library: 'renderMathInElement',
},
{
name: 'contrib/mhchem',
entry: './contrib/mhchem/mhchem.js',
},
{
name: 'contrib/copy-tex',
entry: './contrib/copy-tex/copy-tex.webpack.js',