Commit Graph

72 Commits

Author SHA1 Message Date
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
ylemkimon
761c52f99b Move to Netlify (#1683)
* Remove GitHub Pages publish script

* Redirect katex.netlify.com to katex.org

* Redirect function-support using _redirects

* Redirect docs to the first documentation and docs/en/ to docs/

* Include HSTS includeSubDomains and preload directive

* Cache static image assets
2018-09-02 20:06:39 +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
ylemkimon
6f0a76c3a5 Enable Greenkeeper on website/package.json (#1687) 2018-09-01 14:05:32 -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
f70222769b Fix favicon.ico 404 (#1642) 2018-08-20 10:56:20 -04: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
Erik Demaine
aee4a86a67 Add intmath (Interactive Mathematics) to users list (#1635)
As discussed in https://github.com/Khan/KaTeX/pull/1569#issuecomment-413801933
2018-08-19 00:37:49 +09:00
ylemkimon
93b1b7947c Fix scrollspy.js & use query-string@5 to support IE (#1621)
* Fix scrollspy.js syntax error on IE

* Use query-string@5 to support IE
2018-08-18 21:25:37 +09:00
ylemkimon
0a35a3d184 Update Khan Academy logo (#1613)
* Update Khan Academy logo

* Remove original logo

* Remove unused SVG attributes

* Replace the main page logo with monochromatic (white) version

* Remove effects from the logo in the footer
2018-08-18 13:25:27 +09:00