Commit Graph

83 Commits

Author SHA1 Message Date
renovate[bot]
98a336c2cf chore(deps): update dependency fs-extra to v9.1.0 (#2748)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-22 20:08:29 +00:00
Kimura Tomoki
e7bd3f5b4a docs: add new user link (#2597)
* add MathWills logo

* add MathWiIls link

* Update siteConfig.js

Co-authored-by: ylemkimon <y@ylem.kim>
2020-11-15 12:03:18 +09:00
Antonio J. Molina Lovett
ebd86b90c4 fix: typo in example on homepage (#2577)
introduced in #2085: https://github.com/KaTeX/KaTeX/pull/2085/files#diff-d351bc0c29817ef51ebb3022b15c0704L67

Co-authored-by: ylemkimon <y@ylem.kim>
2020-11-14 15:34:50 +09:00
renovate[bot]
bb7da7e9e0 chore(deps): update dependency react to v16.14.0 (#2598)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 22:57:52 +00:00
Ron Kok
5bdc960c87 docs: Update \operatorname in supported_table.md 0.12.0 (#2571)
* Update \operatorname in supported_table.md 0.12.0
2020-10-11 17:21:21 +09:00
renovate[bot]
c1dfdd8556 chore(deps): lock file maintenance (#2507)
* chore(deps): lock file maintenance

[skip netlify]

* chore(deps): lock file maintenance

* style: fix stylelint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ylemkimon <mail@ylem.kim>
2020-09-12 12:40:56 +09:00
ylemkimon
dc5f97aaa2 feat(macro): improve argument parsing (#2085)
* Improve macro argument parsing

* Make \above a primitive command

* Fix screenshotter data

* Normalize argument where necessary

* Improve argument location info

* Update comments

* Minor refactor

* Modularize group parsers

* Allow braced and blank size argument

for non-strict mode and \genfrac, respectively.

* Minor refactor & update comments

* Remove raw option in parseStringGroup

* Update tests

* Fix { delimited parameter

* Update tests

* Update tests

* Normalize argument in \genfrac

* Update tests

* Consume space before scanning an optional argument

* Fix \\, \newline, and \cr behavior

* Fix flow error

* Update comments

* Remove unnecessary mode switching

Parser mode affects neither fetch nor consume.

* Allow single (active) character macro

* Add function property `primitive`

* Set \mathchoice and \*style primitive

* Separate size-related improvements out to #2139

* Fix flow error

* Update screenshots

* Update demo example

* Add a migration guide

* Fix capitalization

* Make a primitive function unexpandable

* Update screenshots

* Update screenshots

* Revert "Document \def doesn't support delimiters (#2288) (#2289)"

This reverts commit f96fba6f7f.

* Update comments, errors, and tests

* Update screenshots
2020-09-06 12:56:13 +09:00
ylemkimon
8578d74f82 docs: update Gastby logo and link (#2481) 2020-09-02 15:10:44 -04:00
Wolf Oliver
e6f07cf579 docs: add MonsterWriter to the users page (#2478) 2020-09-03 03:56:46 +09:00
dependabot[bot]
4611aa604a build(deps-dev): bump docusaurus from 1.14.4 to 1.14.6 in /website (#2432) 2020-08-17 05:05:06 +00:00
ylemkimon
981e3ee0eb docs: add link to Discussions (#2405)
* Add link to Discussions in issue template chooser

* Add link to discussion to website footer

* Add Discussions badge to README

* Add link to discussion to CONTRIBUTING.md
2020-08-12 12:17:40 +09:00
ylemkimon
f97c5454f8 chore: migrate to Yarn 2 (#2316)
* chore: migrate to Yarn 2

* Update config.yml
2020-08-03 18:24:56 +09:00
Ron Kok
e3c01376c8 Enable a MathML option in the KaTeX demo. (#2371)
* Enable a MathML option in the KaTeX demo.

* Add `output` to `katexOptions`
2020-08-03 02:57:19 +09:00
Sven Frotscher
b75f3e55f3 docs: add Marker as a KaTeX user (#2329)
Co-authored-by: ylemkimon <mail@ylem.kim>
2020-07-26 03:58:21 +09:00
ylemkimon
8a24907518 build(deps): update dependencies (#2301)
* Bump flow version

* Bump jest version

* Bump eslint version

* Bump rollup version

* Bump webpack version

* Bump misc dependencies and update lockfile

* Update lockfile

* Bump commander version

* Bump misc dependencies

* Bump istanbul version

* Bump docusaurus version

* Update lockfile

* Explicitly declare dependencies

* Bump caniuse-lite version

* Update lockfile

* Bump commander version

* Bump webpack and css-loader version

* Bump flow version
2020-07-25 11:38:29 -07:00
ylemkimon
c387b9c747 v0.12.0 release (#2302)
* Release v0.12.0

Bump master to v0.12.1-pre

* Update CHANGELOG

* Uncomment ES module documentation

* Update CHANGELOG.md

Co-authored-by: Erik Demaine <edemaine@mit.edu>

* Update CHANGELOG.md

Co-authored-by: Erik Demaine <edemaine@mit.edu>
2020-07-13 05:46:01 +09:00
Erik Demaine
b027dca926 Restore trust/strict options to remarkable-katex plugin (#2295)
Fix a mistake introduced in #2280
2020-07-12 02:56:26 +09:00
Erik Demaine
5a9d146add Link to Netlify on front page (#2294) 2020-07-11 13:03:05 -04:00
Qcho
507d8f7e32 Add detail about colorbox third text parameter (#2280)
* Add detail about colorbox third text parameter

As stated in issue #1766

* Change colorbox example to use math

* Upgrade remarkable-katex to 1.1.5

Co-authored-by: Erik Demaine <edemaine@mit.edu>
2020-07-10 08:34:28 -07:00
Emily Eisenberg
f2886af6de Update API language on auto-render script (#2279)
I noticed that the docs said there were "two auto-render-specific
keys" and then proceeded to list 5 extra keys that could be passed. I
updated the language in all of the versions of docs because they were
all incorrect.

Co-authored-by: Erik Demaine <edemaine@mit.edu>
2020-07-08 15:53:35 -04:00
Fabio Spampinato
c2e5a289c0 Updated Notable's domain address (#2263) 2020-05-30 14:42:07 -04:00
Sophie Alpert
f09955c547 Fix grammar error in tagline (#2231) 2020-04-05 12:32:09 -04:00
ylemkimon
e5333ad04d Add HTML extension (#2082)
* Add html extension

* Fix flow error

* Update documentation

* Add tests

* Call buildA11yStrings for "html" node

* Throw ParseError when parsing \htmlData fails

* Improve documentation

* Add a screenshotter test

* Add dummy screenshot

* Update screenshots
2019-12-01 17:49:28 -05:00
ylemkimon
b14197d9c9 Update LICENSE and website to acknowledge individual copyrights as well (#2106)
* Update LICENSE to acknowledge individual copyrights as well

* Update copyright year

* Update website to acknowledge individual copyrights as well

* Update LICENSE

* Update siteConfig.js
2019-11-01 12:25:41 -04:00
ylemkimon
634b4e2ae4 Add 'trust' setting to demo (#2107)
Ask if enabling 'trust' from the permalink
2019-10-02 21:06:53 -04:00
Fabio Spampinato
7093b0ce39 Notable: update (#2108)
* Added “Notable” to the list of users

* Added missing trailing comma

* alphabetize the new entry

* Notable: updated icon and website url
2019-09-29 13:07:47 +09:00
Fabio Spampinato
ad4a8778ae Added “Notable” to the list of users (#2086)
* Added “Notable” to the list of users

* Added missing trailing comma

* alphabetize the new entry
2019-09-22 15:11:19 -04:00
Michael Polyak
f03671ce61 Release v0.11.1 (#2098)
* Release v0.11.1

Bump master to v0.12.0-pre

* Update CHANGELOG.md for v0.11.1-release

* Update CHANGELOG.md with Changes section for v0.11.1-release
2019-09-18 08:40:01 -04:00
Kevin Barabash
1da7ef2210 Release v0.11.0 (#2071)
* Release v0.11.0

Bump master to v0.12.0-pre

* update CHANGELOG.md

* minor editors to CHANGELOG.md
2019-08-12 21:51:13 -04:00
Erik Demaine
d82d09bebd Suggest <!DOCTYPE html> in documentation (#2052)
* Suggest <!DOCTYPE html> in documentation

Inspired by #2047

* Add starter template

* Mention <iframe>s

* Set default docs page to Browser
2019-07-24 23:17:41 +09:00
Erik Demaine
285c9fe0b6 Re includegraphics (#2053)
* Re-enable \includegraphics now that we have trust setting

This reverts commit 5806b240b3.

* Include Khan Academy test logo in repo and use in test (fix #1892)

* Update screenshots

* Update documentation

* Add tests, cleanup existing tests

* Update snapshots

* Enable trust testing (trust=true by default)
2019-07-22 00:15:29 +09:00
Erik Demaine
3800dc49c1 [breaking] trust setting to indicate whether input text is trusted (#1794)
* trust option to indicate whether input text is trusted

* Revamp into trust contexts beyond just command

* Document new trust function style

* Fix screenshot testing

* Use trust setting in \url and \href

* Check `isTrusted` in `\url` and `\href` (so now disabled by default)
* Automatically compute `protocol` from `url` in `isTrusted`, so it
  doesn't need to be passed into every context.

* Document untrusted features in support list/table

* Existing tests trust by default

* remove allowedProtocols and fix flow errors

* remove 'allowedProtocols' from documentation

* add a comment about a flow error, rename urlToProtocol to protocolFromUrl

* add tests test that use function version of trust option

* default trust to false in MathML tests

* fix test title, remove 'trust: false' from test settings since it's the default
2019-07-08 21:57:23 -04:00
Tonton Pixel
39da3f5119 Add "Tutti Quanti Shelf" app (#1997)
* Add "Tutti Quanti Shelf" app

Utilities making use of the KaTeX library have been split between the original app "Vade Mecum Shelf" ("Trigonometric Formulas" utility) and the new app "Tutti Quanti Shelf" ("LaTeX Math Renderer" utility)...

* Link to new app icon

* Update siteConfig.js

* Update siteConfig.js

Fixed image path
2019-06-16 18:08:37 -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
Thomas Mathew
fb103bb147 Include extensions mhchem & copy-tex in home-page (#1932)
* Include extensions mhchem & copy-tex in website home-page

* Use relative link to mhchem and copy-tex

- Included relative links extensions mhchem & copy-tex in website/pages/index.html
- Included copy commands in website/lib/build.js. Will be used in 'yarn build'
- Included 2 more files in .gitignore

* Correct CDN path of extensions

* tweak grammar and alignment of a comment
2019-04-28 20:29:49 -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
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
ylemkimon
6323702874 Add Browserstack logo (#1879)
To apply for their open-source program.
2019-04-17 10:35:54 -04:00
ylemkimon
a3c95d8c13 Fix Users' logo and url (#1896)
* Fix 404 on stackedit_logo.svg

* Fix 404 on Observable logo and url
2019-04-06 18:13:01 -04: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
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
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
ylemkimon
bf98931e2d Add namu.wiki to KaTeX users (#1760)
* Add namuwiki logo

* Update siteConfig.js
2018-10-29 01:16:55 -04:00
ylemkimon
354b4badda Fix documentation CORS error (#1759)
* Fix CORS error

* Fix CORS error

* Add CORS attribute
2018-10-29 13:42:45 +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
Nathan Clonts
6a06470e99 Website custom 404 page (#1748)
* initial 404 page

* improve styles

* update formula & alignment on 404 page

* attempt to redirect all bad URLs to 404 page

* try 301 to force redirect to 404.html

* try loading static resources with absolute path

* fix some absolute paths

* style & content improvements

* reduce equation font size for really narrow screens

* revert changes (?) to browserslistrc

* Update website/static/static/404.css

Co-Authored-By: kokopelli314 <nacclonts@Gmail.com>

* Update website/static/static/404.css

Co-Authored-By: kokopelli314 <nacclonts@Gmail.com>

* Update website/static/static/404.css

Co-Authored-By: kokopelli314 <nacclonts@Gmail.com>
2018-10-24 22:17:35 -04:00
ylemkimon
c8f8ebd880 Use local built KaTeX on the main page for local and Netlify deploy preview (#1631)
* Use local built KaTeX on the main page for local and netlify builds

* Use KaTeX from CDN on Netlify production deploy
2018-09-04 07:25:29 +09:00
ylemkimon
ddc287e551 Enable Algolia Docsearch (#1688) 2018-09-04 06:58:28 +09:00