Commit Graph

1384 Commits

Author SHA1 Message Date
ylemkimon
c97436f34b build: upgrade Yarn to 2.2.0 (#2477) 2020-09-06 15:07:12 +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]
730732fddb build(deps-dev): bump flow-bin from 0.131.0 to 0.132.0 (#2453) 2020-08-31 18:53:45 +09:00
ylemkimon
ca00e01434 build: make vscode work with PnP (#2444)
* Make vscode work with PnP

* Add vscode extension recommendations

* Add newlines to the end of generated manifests
2020-08-31 17:38:48 +09:00
Ron Kok
010b267dd6 fix: Support MathML \oiint and \oiiint (#2461)
* fix: Support MathML \oiint and \oiiint

* Update direct input section of docs
2020-08-30 15:44:34 -07:00
Ron Kok
ae90dbb78e refactor: Delete obsolete comment re: mn elements (#2472) 2020-08-30 15:33:39 -04:00
ylemkimon
a82d4c44e0 test: lint all js files and inline scripts in workflow (#2442)
* Lint all js files

Closes #2414

* Lint inline scripts in workflow

* Upgrade eslint-plugin-actions to 1.0.1

Test plan:
1. Add `console` statement to the script in `.github/workflows/ci.yml`
2. Check `no-console` error is shown in `eslint`
2020-08-30 10:09:47 +09:00
dependabot[bot]
a71d053df9 build(deps-dev): bump prettier from 2.0.5 to 2.1.1 (#2469) 2020-08-29 14:17:38 +00:00
dependabot[bot]
853c8c3e1d build(deps-dev): bump caniuse-lite from 1.0.30001118 to 1.0.30001119 (#2468) 2020-08-29 14:04:19 +00:00
dependabot[bot]
657c02a359 build(deps-dev): bump css-loader from 4.2.1 to 4.2.2 (#2467) 2020-08-29 13:12:16 +00:00
dependabot[bot]
4a7aa8a04b build(deps-dev): bump less-loader from 6.2.0 to 7.0.0 (#2466) 2020-08-29 12:46:36 +00:00
dependabot[bot]
9258adbc53 build(deps-dev): bump rollup from 2.26.4 to 2.26.6 (#2463) 2020-08-27 18:14:55 +00:00
Ron Kok
8f26a65847 refactor: Delete obsolete comment re: limsup (#2464) 2020-08-27 11:43:01 -04:00
dependabot[bot]
5098ac325a build(deps-dev): bump caniuse-lite from 1.0.30001116 to 1.0.30001118 (#2462) 2020-08-27 15:15:37 +00:00
dependabot[bot]
bcc19c8e00 build(deps-dev): bump jest from 26.4.1 to 26.4.2 (#2456) 2020-08-27 12:43:48 +00:00
dependabot[bot]
c87f9e6193 build(deps): bump actions/github-script from v2 to v3 (#2457) 2020-08-26 17:28:03 +00:00
Ron Kok
b22b69c3a8 fix: \injlim typo (#2459)
* Fix typo in \injlim

* Just to satisfy Semantic Pull Request
2020-08-26 09:14:18 -07:00
Ron Kok
987a84ee04 docs: add comment re: \arrowvert (#2449) 2020-08-22 01:59:37 +09:00
dependabot[bot]
32dbdbd625 build(deps-dev): bump @babel/core from 7.11.1 to 7.11.4 (#2447) 2020-08-21 16:36:38 +00:00
dependabot[bot]
8b7e409e04 build(deps-dev): bump jest from 26.4.0 to 26.4.1 (#2448) 2020-08-21 14:11:16 +00:00
dependabot[bot]
68577f57b0 build(deps-dev): bump rollup from 2.26.3 to 2.26.4 (#2441) 2020-08-20 12:09:26 +00:00
dependabot[bot]
ed5ddfe1ae build(deps-dev): bump caniuse-lite from 1.0.30001115 to 1.0.30001116 (#2439) 2020-08-20 10:48:15 +00:00
dependabot[bot]
8c96dab9ab build(deps-dev): bump caniuse-lite from 1.0.30001114 to 1.0.30001115 (#2437) 2020-08-18 17:08:47 +00:00
Ron Kok
794dc7a213 feat: support AMS log-like symbols (#2429)
* Support AMS log-like symbols

* Update documentation

* Update \limits info in documentation
2020-08-18 05:28:42 +09:00
ylemkimon
221042be86 ci: migrate to GitHub Actions from CircleCI, allow running Browserstack on forked repo via label (#2417)
* Remove CircleCI and codecov

* Add GitHub Actions workflow

* Add Browserstack credentials

* Skip tests if ci skip or skip ci is in commit messages

* Update and rename test.yml to ci.yml

* Postfix artifacts name with browser

* Disable proxy on chrome

* Update dockers/screenshotter/screenshotter.js

* Add status badge

* Set directory option in codecov action

* Run Browserstack on forked repo via label

* Print Docker logs

* Disable GPU on ChromeDriver

* Add comments

* Add comments
2020-08-18 04:58:08 +09:00
Ron Kok
b59ca67530 feat: support Unicode ◯, U+25EF (#2430)
* Support Unicode U+25EF \bigcirc

* Update documentation
2020-08-17 20:35:24 +09:00
dependabot[bot]
0239693670 build(deps-dev): bump caniuse-lite from 1.0.30001113 to 1.0.30001114 (#2435) 2020-08-17 11:29:38 +00:00
dependabot[bot]
d5e727b094 build(deps-dev): bump rollup from 2.25.0 to 2.26.3 (#2434) 2020-08-17 09:46:42 +00:00
dependabot[bot]
4d62b4a102 build(deps-dev): bump eslint from 7.6.0 to 7.7.0 (#2433) 2020-08-17 09:29:57 +00: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
2f87ffda00 ci: enable Dependabot for website, submodules, and GitHub Actions (#2424) 2020-08-17 13:21:52 +09:00
dependabot[bot]
1825aaf040 build(deps-dev): bump @rollup/plugin-babel from 5.1.0 to 5.2.0 (#2426) 2020-08-17 04:16:53 +00:00
dependabot[bot]
8a721de702 build(deps-dev): bump rollup from 2.23.1 to 2.25.0 (#2427) 2020-08-16 21:46:25 +00:00
ylemkimon
69be3362fb Discussions (#2425)
* Add link to Discussions in issue template chooser

* Add link to discussion to website footer

[skip ci]

* Add Discussions badge to README

[skip ci]

* Add link to discussion to CONTRIBUTING.md
2020-08-14 10:01:55 +09:00
dependabot[bot]
0bad67b71b build(deps-dev): bump eslint-plugin-react from 7.20.5 to 7.20.6 (#2419) 2020-08-13 14:45:21 +00:00
dependabot[bot]
ff49e078f2 build(deps-dev): bump jest from 26.3.0 to 26.4.0 (#2422) 2020-08-13 22:57:49 +09:00
ylemkimon
babc60c428 test: add missing screenshots for safari (#2423) 2020-08-13 06:43:44 -07:00
Ron Kok
42cc5e507e feat: Support \phase (#2406)
* Support \phase

* Update screenshots

* Update documentation

* Add a11y test

* Edit MathML notation to phasorangle

* Move code to enclose.js

Co-authored-by: Kevin Barabash <kevinb@khanacademy.org>
2020-08-13 00:08:36 -04:00
Ron Kok
26e0a05221 feat: Support \mathstrut (#2416)
* feat: Support \mathstrut

* Update screenshots
2020-08-12 23:45:33 -04: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
dependabot[bot]
349341d1f0 build(deps-dev): bump caniuse-lite from 1.0.30001112 to 1.0.30001113 (#2412) 2020-08-12 01:41:18 +00:00
dependabot[bot]
6f260a7004 build(deps-dev): bump mini-css-extract-plugin from 0.9.0 to 0.10.0 (#2411) 2020-08-11 09:48:38 +00:00
dependabot[bot]
509a2ff999 build(deps-dev): bump jest from 26.2.2 to 26.3.0 (#2409) 2020-08-10 18:38:04 +00:00
dependabot[bot]
51db39c0d6 build(deps-dev): bump caniuse-lite from 1.0.30001111 to 1.0.30001112 (#2403) 2020-08-10 05:40:24 +00:00
dependabot[bot]
c743ee5ca1 build(deps-dev): bump @babel/core from 7.11.0 to 7.11.1 (#2390) 2020-08-10 04:58:38 +00:00
dependabot[bot]
a1a119c8fb build(deps-dev): bump rollup from 2.23.0 to 2.23.1 (#2402) 2020-08-10 02:31:51 +00:00
dependabot[bot]
571c2cc3f7 build(deps-dev): bump css-loader from 4.2.0 to 4.2.1 (#2401) 2020-08-10 01:17:19 +00:00
dependabot[bot]
b61ebd519f build(deps-dev): bump browserslist from 4.13.0 to 4.14.0 (#2392) 2020-08-10 00:36:43 +00:00