Ron Kok
9822414733
Render MathML directly ( #1966 )
...
* Render MathML
* Fix lint error
* Change from main api to rendering options
2019-05-13 19:31:04 -04:00
Kevin Barabash
f659544d62
Release v0.10.2 (take 4) ( #1961 )
...
* Release v0.10.2
Bump master to v0.10.3-pre
* update CHANGELOG
* add integrity hash to mhchem script in README
* tweaked CHANGELOG
2019-05-12 22:08:30 -04:00
ylemkimon
664dc6ab74
Add more documentation on font loading & prefetch fonts on the website ( #1895 )
...
* Add more documentation on font loading
* Prefetch fonts on the website
2019-04-28 18:44:34 -04:00
Kevin Barabash
5806b240b3
disable \includegraphics until trust settings is merged ( #1951 )
...
* disable \includegraphics until trust settings is merged
* disable one more test
2019-04-28 17:52:27 -04:00
Tesla_Ice_Zhang
6bb312f687
Support double-square curly braces ( #1953 )
...
* Support double-square curly braces
Signed-off-by: ice1000 <ice1000kotlin@foxmail.com >
* Rename `llbrace` to `lBrace`
* Address comments: add mathml
* Fix code style
* Fix doc
* Add to docs/support_table
2019-04-25 07:23:00 -07:00
Ben Dyer
d01a972f5c
Add symbol double square brackets ( #1947 )
...
* Add symbol double square brackets
* Update name for double square brackets, add macros and documentation
2019-04-23 18:49:50 -07:00
ylemkimon
f948947736
Add KaTeX version to stylesheet and troubleshooting guide ( #1893 )
...
* Add KaTeX version to stylesheet
* Add troubleshooting guide
* Update katex.less
[skip ci]
2019-04-18 22:10:19 +09:00
Jude Fernandes
41dd71c241
Added Android library ( #1943 )
...
* Added Android library
Added a link to the android library for katex rendering.
* Update the name to include correct capitalization
2019-04-17 22:08:09 -04:00
Erik Demaine
070883532a
Support \textup and \textmd ( #1921 )
...
* Support \textup and \textmd
This PR adds support for `\textup` and `\textmd`, which are the inverses of
`\textit` and `\textbf`. Unlike bare `\text`, they result in `textup` and
`textmd` classes being applied, but those have no CSS rules, so they act the
same as bare `\text`.
Fixes #1909 .
* Add documentation
* Add unsupported font commands
2019-04-06 02:51:11 +09:00
georges-gomes
31c02f2976
Added 'katex-element' ( #1905 )
...
* Added 'katex-element'
* Update docs/libs.md
Co-Authored-By: georges-gomes <georges.gomes@gmail.com >
* Added colon between name and description
Like others
2019-04-01 09:59:55 -04:00
riteme
6ae095fcd4
Fix \Rho ( #1870 )
2019-03-07 10:18:20 -05:00
ylemkimon
99892bb4a7
Upgrade minimum development Node version to v8 ( #1861 )
...
Node v6 will reach its end-of-life by April 2019.
2019-02-22 16:15:10 -05:00
ylemkimon
e016f4b940
Release v0.10.1 ( #1856 )
...
* Release v0.10.1
Bump v0.10.1 to v0.10.2-pre
* Update CHANGELOG.md
2019-02-22 13:34:15 +09:00
Erik Demaine
1c2d9d4a48
Fix link between support pages ( #1854 )
...
Fix #1853 by removing `./` in URLs which Docusaurus doesn't translate.
2019-02-21 16:08:22 +09:00
Erik Demaine
7f778d1543
leqno and fleqn support ( #1814 )
...
* leqno support
* Add fleqn support
* Add tests
* Lint fix
* Add leqno and fleqn to website demo
2019-01-29 18:40:17 +09:00
Erik Demaine
58c36c6fdf
Add \textbackslash and \textasciicircum ( #1839 )
...
* Add \textbackslash and \textasciicircum
Fix #1838
* lint fix
* Add documentation
2019-01-27 12:02:47 -08:00
Jake
4847e40ab6
Add vue-katex to 3rd party libraries ( #1823 )
2019-01-13 10:24:54 -05:00
René Filip
9ddc24c9f1
add \argmax and \argmin ( #1820 )
...
* add \argmax and \argmin
* add reference to argmin and argmax
2019-01-12 18:36:36 -05:00
Ron Kok
f5234a2f01
Fix \hphantom width ( #1809 )
...
* Fix \hphantom width
* Spin up phony screenshot test
* Make better choice of smash screenshot test
* Real screenshotter test
* Add strict mode
* Fix lint error
* useStrictBehavior
* Revert to previous strict setting
* useStrictBehavior "phantomSpacing"
* Fix tests via nonstrictSettings
* Fix documentation
* Remove bin|rel
2019-01-02 01:49:23 +09:00
AlbertHilb
f10de9617e
Add optional pre-process callback to the auto-renderer. ( #1784 )
...
* Add optional pre-process callback to the auto-renderer.
* Rewrite `preProcess` callback signature.
* Add test.
* Make test future-proof.
* Add root folder to the node module paths.
2018-12-23 18:29:59 -05:00
ylemkimon
ce3840d4ce
Include only necessary fonts for target environment specified by Browserslist ( #1674 )
...
* Include only necessary fonts for target environment specified by Browserslist
Allow WOFF and WOFF2 to be controlled using environment variables
* Fix links
* Fix merge error
* Update dependencies
* Replace uglifyjs-webpack-plugin with terser-webpack-plugin
* Do not set `targets` if !isESMBuild
2018-12-02 17:51:13 -05:00
Ron Kok
64745b5c8a
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
2018-11-24 18:52:25 -05:00
ylemkimon
ec6a2b4f36
Remove Supported Functions onPageNav style ( #1767 )
...
* Remove Supported Functions onPageNav style
* Remove Supported Functions onPageNav style
2018-11-21 14:16:25 +09:00
ylemkimon
112582daa5
Replace Khan/KaTeX with KaTeX/KaTeX ( #1781 )
...
* Replace Khan/KaTeX with KaTeX/KaTeX
* Remove RawGit links
* Remove old files
2018-11-19 21:24:33 -05:00
ylemkimon
cda184bea4
Add documentation regarding importing the module ( #1768 )
2018-11-06 00:37:44 +09:00
Ron Kok
f713f324bd
Support \includegraphics ( #1620 )
...
* Support \includegraphics
* Update screenshots
* Fix lint errors
* Fix more lint errors
* Fix lint errors take 3
* Add documentation, error messages
* Improve CSS
* Update domTree to coordinate with PR #1633
* Update screenshots
* fix flow errors
* Use same RegEx as href
* Fix lint error
* Accept raw ArgType
* Fix lint error
* fix flow error
* Add test
2018-11-01 18:43:41 -04:00
ylemkimon
f628ca142b
Generate ECMAScript module for contrib ( #1624 )
...
* Create separate entry point of copy-tex for webpack
* Update katex.webpack.js comment
* Generate ECMAScript for contrib
* Update dependencies
* Comment out documentations
2018-10-31 11:37:54 +09:00
ylemkimon
49f84f76e7
v0.10.0 release ( #1751 )
...
* Remove RC-versioned docs
* Release v0.10.0
Bump master to v0.10.1-pre
* Fix multiple occuring hash replacement
* Update SRI hashes
* Update CHANGELOG.md
* Fix tags not shown
* Update docusaurus
* Wrap escaping backslashes with backticks
* Update SRI hashes
* Update CHANGELOG.md
2018-10-29 13:14:24 +09:00
ylemkimon
4dd0e2cdca
Add \> ( #1752 )
...
* Add \>
* Update snapshot
2018-10-24 22:04:00 -04:00
Ron Kok
0b7b4db7fc
Support Unicode double square brackets ( #1750 )
2018-10-24 15:57:36 +09:00
AlbertHilb
89bb371152
Add support for \lparen
and \rparen
delimiters. ( #1741 )
...
* Add support for `\lparen` and `\rparen` delimiters.
* Add missing math delimiter. Fix alphabetic order.
* Add test.
* Add spaces between parenthesis and square brackets.
2018-10-15 21:05:10 -04:00
ylemkimon
ba8e224b8d
Fix \mathit
font and italic correction and add \mathnormal
( #1700 )
...
* Fix \mathit font (Math-Italic -> Main-Italic) and italic correction
* Rename mathit to mathdefault and mainit to mathit
* Add \mathnormal
2018-10-10 17:18:07 +09:00
Ryan Randall
9733040602
Updating lib docs ( #1727 )
2018-09-28 16:57:56 +09:00
Sumit Gupta
9a6f31abcc
Added correct hash for katex.min.css ( #1692 )
...
* Added correct hash
* Correct hash for versioned doc
2018-09-02 13:34:15 +09:00
Ron Kok
9b7e10e4f7
Allow 6-digit color spec w/o # ( #1690 )
...
* Allow 6-digit color spec w/o #
* Improve RegEx pattern
* Pick up comment
* fix lint
2018-09-01 13:27:17 -04:00
ylemkimon
89daa02fd8
Move to katex.org ( #1680 )
...
* Change links to katex.org
* Change http to https
* Remove baseUrl hacks
* Fix OpenGraph image link
* Fix KaTeX path update script
2018-08-31 04:08:02 -04:00
ylemkimon
7ca6f51b9a
Release v0.10.0-rc.1 ( #1654 )
...
Bump master to v0.10.0-pre
2018-08-23 02:42:24 +09:00
ylemkimon
e790a416d5
Update SRI hashes for v0.10.0-rc ( #1638 )
2018-08-19 11:50:31 -04:00
ylemkimon
293af2936d
Release v0.10.0-rc ( #1634 )
...
* Release v0.10.0-rc
Bump master to v0.10.0-pre
* Update CHANGELOG.md
* Update SRI hashes
* Update SRI hashes
2018-08-20 00:25:11 +09:00
ylemkimon
3f31a504e8
Add documentation regarding nomodule
( #1622 )
...
* Add documentation regarding `nomodule`
* Update browser.md
* Update browser.md
2018-08-18 11:33:41 +09:00
Erik Demaine
ce64e56f63
Partial list of KaTeX users ( #1569 )
...
* Partial list of KaTeX users
Fix #305 (though work should be ongoing) by incorporating users
from that issue. Also render project names.
* Ordering and link fixes
* Add more projects, allow non-square images
* Bug fix
* Implement comments
* Remove Bokeh
* Switch Gradescope logo, fix layout for small screens
* Implement @ylemkimon's comments
* Add expii logo
* Avoid master link
2018-08-17 16:37:55 +09:00
ylemkimon
fdb155aa97
Build ECMAScript modules ( #1479 )
...
* Separate type import statement from module import statement
* Remove extension from import statements
* Build ECMAScript modules
* Add `cross-env` devDependency
* Use `babel-plugin-import-rename` instead of custom plugin
* Improve `.babelrc` style and add comments
* Update README.md
* Change file extension to `.mjs`
Comply with Node.js spec. Use extensionless package:main.
* Enforce only ESM compatible imports
* Dedupe packages
* Add `unicodeMake.js` to overrides:excludedFiles
* Fix .eslintrc merge conflict
* Use rollup to bundle ES module
* Remove `eslint-plugin-import`
* Change build directory to `dist`
* Change build directory to `dist`
* Change build directory
* Move docs from README.md to browser.md
* Update update-sri.js
* Revert update-sri.js
* Revert update-sri.js
* Update .eslintrc
* Remove SSH key testing
2018-08-13 13:06:40 +09:00
ylemkimon
8f95a275fb
Add documentation about macro functions ( #1602 )
...
* Add documentation about macro functions
* Update options.md
2018-08-13 03:47:39 +09:00
ylemkimon
ea1a226e20
Improve examples, add defer, async, and pre- loading KaTeX ( #1580 )
...
* Wrap `katex.render` examples with try...catch
* Add starter template with defer in README.md
* Update documentation to use `defer` and `onload`
* Add documentation on async and pre loading KaTeX
* Use sha384 for SRI
* Revise wording according to comments
* Minor changes
* Fix article
2018-08-11 09:21:36 +09:00
ylemkimon
b99de9ae68
Use local built CSS and fonts for master documentation ( #1584 )
...
* Change `npm run` to `yarn`
* Export `commander` program if required as module
* Move `prestart` (cli.md generation) to build.js
* Normalize script names
* Change `yarn prestart` to `node lib/build.js`
* Use local built CSS and fonts
* Move stylesheet after the first paragraph
* Remove prestart script
2018-08-11 08:20:03 +09:00
Ron Kok
d2f56cebd7
Sync support pages ( #1556 )
...
* Sync support pages
* Use KaTeX logo for \href example
* mobile support
* Unit block sizes
* Add texvc to supported.md
* Fix CSS lint errors
* Added suggested braces to demo page
* Pick up review comments
* Move \allowbreak
2018-08-10 16:37:08 -04:00
ylemkimon
eab8f24333
Improve supported functions documentation 2 ( #1576 )
...
* Move remarkable plugins to website/lib
* Bypass escaped delimiter
* Add redirect page
* Include stylesheet in the documentation for versioning
2018-08-09 21:54:58 +09:00
ylemkimon
ed7ad8d116
Add Extensions to Libraries documentation, dedupe auto-render documentation ( #1566 )
...
* Add extensions to libs.md
* Remove documentations from auto-render/README.md
* Add colons
2018-08-08 11:28:45 -04:00
Oliver Tacke
02639b424e
Add ignore option for class names ( #1555 )
...
* Add ignore option for class names
This change adds another option for ignoring nodes for rendering similar to `ignoreTags`.
The new option `ignoreClasses` can hold an array of strings representing class names that should be ignored if they are in a node's class list. This can be desirable in dynamic environments.
* Adhere to CI rules for styling
* Add documentation for new option
* Exchange classList property with IE9 compatible code
* Harmonize variable names
* Add default for ignoredClasses
2018-08-08 09:00:22 +09:00
Ron Kok
50c0240349
Support mediawiki ( #1558 )
...
* Support mediawiki
* Fix lint error
* Fix link to deprecated syntax
* Change In master to display of functions
2018-08-08 07:49:38 +09:00