Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Update to Katex 0.12.0 and bump version to 1.1.5 #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update to Katex 0.12.0 and bump version to 1.1.5 #25

wants to merge 2 commits into from

Conversation

haotian-wang
Copy link

Katex 0.7.1 is a old version and many features are not supported. It's time to update it!

Changes

  • Update to katex 0.12.0.
    • Copy static/fonts and static/katex.min.css from katex 0.12.0
    • Update katex version from package.json
  • Bump to version 1.15
    • Update plugin version from package.json

Verification

SHA256 Checksums

➜  static git:(katex-0.12.0) sha256sum katex.min.css
b67ea16766060efd30d7f0da14be0c894a17b8055c96bb4566cd77721dd307d3  katex.min.css
➜  static git:(katex-0.12.0) sha256sum fonts/* | sort
01e074cc3dcd7140710315dc18102897bae0c0771841bc326bfe8f934276cb82  fonts/KaTeX_Size1-Regular.woff2
06af0fba8798a625f89e5c605569a3a44828e2677fa9481fe06205d2062c7ba9  fonts/KaTeX_Main-Italic.ttf
081f08cf7e0a8a68cdbb29977fb0bb10a1dc71f7ae9b53648f79e98532ee26fe  fonts/KaTeX_SansSerif-Regular.ttf
08f69ff860ef323f559c5a640b7ec5f3dc469a01b7159cddfa4286acb629c360  fonts/KaTeX_SansSerif-Bold.woff
0b27467a453fa09303e015943b8869d9bf7ab8b97b437a95b8331fa4f8f2aab0  fonts/KaTeX_Size4-Regular.woff2
0b9f6662c0c07fbd4c68949975aa6cb8d3881a86f9e6375af5b3bc3742f25273  fonts/KaTeX_Main-Regular.woff
10914c41ecc86f46941584f301555614fe8c59463e0452bef84dfd999a56adcc  fonts/KaTeX_Fraktur-Regular.woff
114d46ba510a4d816884afcd2b98a4d6cebd5ea7afdeb6f849fe5abf9b727ee9  fonts/KaTeX_Size4-Regular.ttf
1182f7b49fead9d22f3f14541e71e3331977a0441643c56664806949b96bed5a  fonts/KaTeX_SansSerif-Italic.woff
120253ea1310e3b80891610430105b0226766a4fa3d2c80f22c2cf887d84fd79  fonts/KaTeX_Main-BoldItalic.woff
14c6e060c8735876e3cd66fc3c490856097cc149279656c53e54557bea47d5c3  fonts/KaTeX_Size3-Regular.woff
15978c32403fa18a1843e66b0f0f5a9ca3c6a33aa128c6dfb4aa07251ab6990b  fonts/KaTeX_Typewriter-Regular.woff
15df487e2d49d960851524efb8c1fcca6b1197890cf4309f05c29d5010adcf32  fonts/KaTeX_AMS-Regular.woff2
2227c4c4953e65cbf7f67e83c12a27243478265619aae313353fda3b1458ed2c  fonts/KaTeX_Script-Regular.woff2
230588b650d4d4d4e47127f7d6d6a0f88ae73dabc10948928eb20ea850f26ad9  fonts/KaTeX_Size3-Regular.ttf
23d872b2185ce3c530e32c25bbad141de622dcc3171e939f33b2b1b55086396e  fonts/KaTeX_Math-BoldItalic.ttf
252ec45ca7d1b70a8ee070ed0b8863f5554e2c5190cf409a6b3179a0ebe0cf26  fonts/KaTeX_Math-Italic.woff
2673b817a2a74139b1d9bd2f9d70148426346cbae579a5141abd839436126e2e  fonts/KaTeX_SansSerif-Regular.woff2
27fccaf740860a615575c6af8549677fdb33401266cab7caa1765f16e0d57a42  fonts/KaTeX_Main-BoldItalic.woff2
283580ac91c54b6fa655842bfccf5ca0b5406e187d4f81c3b59ef2fd1dd31366  fonts/KaTeX_Caligraphic-Regular.woff
2eb5660215fd2009a794b550df1b19df65acda11f4dff65d91a684f061214b55  fonts/KaTeX_Main-Bold.woff2
325df4744e9e1c1e978c78242048eb5462e37d64db2e6da435a730befee8ccbc  fonts/KaTeX_Size3-Regular.woff2
3467e032f722c3b5e0254862103bd24182049cd8781b86ffe2a9c8d77511e43f  fonts/KaTeX_Math-BoldItalic.woff2
38e966e4ea4cc3f91f7044ec8cb4ff86808af096f74997c683b708f83e2a32d5  fonts/KaTeX_Size2-Regular.woff
3cc9328f43e5092aaaebd6b32902e53b6d770b4ff17e8b2c47708d7b2c83a2ce  fonts/KaTeX_Caligraphic-Bold.woff
41e4c13808366d1e102f771dd3efcad922395b52c23fd68c2e3a1adf417056e7  fonts/KaTeX_Size1-Regular.woff
479c8788e05d188c708214c72d2b1d03a0834b035cf621fd26ecc2a048e97d9b  fonts/KaTeX_AMS-Regular.ttf
48c988b76e6f36614ca627c3c1ff550fa02da781a97364475374b5c02912f2a2  fonts/KaTeX_Size2-Regular.ttf
4b4d0fa429e52f14c25e781e6dc8651e60e2c27a610ab07ca81aa49217250cd5  fonts/KaTeX_Caligraphic-Bold.woff2
517b4b11866ae3d18e74168ebb179f88cb56668de40ea1e23fff0a61f78ef04a  fonts/KaTeX_Math-Italic.ttf
5293e7e9ac564ccd10deceec3a4cf3fa0754d3ce53ba3a4af21ae215686af001  fonts/KaTeX_Size1-Regular.ttf
579306c793600772ef7171c2a304aec8d6de7bc30ab2b4598ace25699ee6d1e2  fonts/KaTeX_Size2-Regular.woff2
60b247213ad93691bcdb19438cb0b67c7ea2fb4b3a72e82078beb791dd2b941a  fonts/KaTeX_SansSerif-Italic.ttf
611edea9609d5b7728e2df2cb6034ea0aea459c7c06e6d8b8f83ca21a9f440d2  fonts/KaTeX_Script-Regular.woff
66034ad79f0f68739b7be69771748a1c61d524d4dbba570905318595151377ad  fonts/KaTeX_SansSerif-Italic.woff2
697b1c9f6e11e42800664b58d06173e96548f87ad8b96a37cb01fa4b897dff9b  fonts/KaTeX_Caligraphic-Bold.ttf
7b7be7af132561e043a429328fcde231634bfeace1c9e3024887fc4a6f09b6bf  fonts/KaTeX_Main-Regular.woff2
82880d882256c6098e5c4a8bdb8f67fbbccb42bf33a5b68e3662bd9bf1f34448  fonts/KaTeX_Math-BoldItalic.woff
86f923f6b2ba9aa499e76a8e85c9516a19fa824b5f19b0279bb7079a4dac672c  fonts/KaTeX_Caligraphic-Regular.woff2
9339484861f622622c4d4fecffcb05da810407cc23305e8799bc1100329223b9  fonts/KaTeX_Math-Italic.woff2
9d4aa93853e15f82ea86daf02568c7bf32986f7af33bcb810b86da39b712f5a5  fonts/KaTeX_Size4-Regular.woff
a4f24d9b4244d4341ba0214cac621ec5727218df842af6de8e228aae985b5512  fonts/KaTeX_Main-Italic.woff
a70a4daf27a074dbc86ca6b186306b852792929da734394fbc62ad3b788aefe5  fonts/KaTeX_Main-BoldItalic.ttf
ae44802f0b88aca9a5b0150990c7dbd2c51bcf725da05cfb71f878c476017711  fonts/KaTeX_Fraktur-Regular.ttf
af1d60bcfc57febf32ab10cc5467219f76117ef82fa663f92db22194f376b424  fonts/KaTeX_Typewriter-Regular.woff2
b40a2796e46b2f558dcb5158bc76ffd7d5a7cbe35c0662a7599c9e1a88ae4e3c  fonts/KaTeX_Caligraphic-Regular.ttf
c3d1c2c8c0455af0db352e704e4fd4c5ae692cb3b895b6be752f5a89bf3b93f5  fonts/KaTeX_Typewriter-Regular.ttf
cb6b7776d09864b2dc99c1ae5ee3659a7115db75b6ed660def2161968a2437c2  fonts/KaTeX_Fraktur-Bold.woff
cc796f5fea153a7134e5050fad1bcccadee89d52ace60d498f6fc1f1e069032e  fonts/KaTeX_Script-Regular.ttf
dc8093175e397ea58bed6a7bcc810e05e2125742763f1599babaa926461a32cb  fonts/KaTeX_SansSerif-Regular.woff
deba64bdc3911c01e7bee8c1c9c736d3f5859eaea0d91d5a793a140b21d6b1c6  fonts/KaTeX_Main-Bold.ttf
df5e2dff7ff874a1c50566b93ea32bdf9b219fb1646240ad61ad332c950cfa9d  fonts/KaTeX_Fraktur-Regular.woff2
e5d73a831c38e3782f1698d94716025e26a59d34272bcf9ac7ab188d2cc9af16  fonts/KaTeX_Main-Italic.woff2
e818e3cd8065e949ca547607045e1cca24912d02f1b44d3efcac67ba6320f619  fonts/KaTeX_SansSerif-Bold.ttf
eab76eab40c7dd342bc38c05d008b96a3a603f6c0bf635701ed1c6b2f0c12fcd  fonts/KaTeX_Main-Regular.ttf
eebf6eacab4b4238f927271da3bc942970ba7dcdeb6226a0b893dba3f73801ef  fonts/KaTeX_Main-Bold.woff
f1527a373f9e2f3b9b9a44d5a9f4fcc225fe15b9c64735b434de8a5d93fcdf12  fonts/KaTeX_Fraktur-Bold.woff2
f5b0e1ff158f892d45bbd24799d83b3f046ea492b248674a7d2e26787ff9f5bd  fonts/KaTeX_AMS-Regular.woff
f6f61cab7740ef34b23a8e941760bf54a5c3e8975d70d5cea3c244bbf699fad9  fonts/KaTeX_SansSerif-Bold.woff2
f7184e0f0eb9ebd69d81acbd01bbd2519b82f4a4701530d40e47154680d07a02  fonts/KaTeX_Fraktur-Bold.ttf

File Diff

➜  ~ wget -q https://github.com/KaTeX/KaTeX/releases/download/v0.12.0/katex.tar.gz
➜  ~ tar -xf katex.tar.gz
➜  ~ diff plugin-katex/static/katex.min.css katex/katex.min.css
➜  ~ diff plugin-katex/static/fonts katex/fonts

No diff found with official katex 0.12.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant