1
0
Fork 0
Commit graph

53 commits

Author SHA1 Message Date
862bb2a4e5 update katex to 0.15.2 2022-03-01 16:09:56 +09:00
Waylon Flinn
81b84a7d91 bump version again 2016-10-10 07:59:26 -05:00
Waylon Flinn
d8f41295cb Merge branch 'master' of github.com:waylonflinn/markdown-it-katex 2016-10-10 07:57:13 -05:00
Waylon Flinn
80846b03e2 bump package version for publishing 2016-10-10 07:56:38 -05:00
Waylon Flinn
b8d8e25a80 Merge pull request #4 from cbreeden/master
Handle escapes properly, and have syntax agree with Pandoc's math-mode
2016-05-23 07:30:31 -05:00
Christopher Breeden
a38d2cbd63 delete npm-debug.log 2016-05-18 18:23:28 -05:00
Christopher Breeden
fd464f82da Added proper math-mode escaping 2016-05-15 13:57:01 -05:00
Christopher Breeden
97cea23133 Added failing test 2016-05-15 13:10:37 -05:00
cbreeden
4349e4480e refactored inline processing for pandoc syntax 2016-05-15 13:02:48 -05:00
cbreeden
a5a4427d2b Add some failing tests 2016-05-15 13:02:48 -05:00
cbreeden
3c4006c14f Updated Readme to include Syntax information 2016-05-15 13:02:25 -05:00
cbreeden
aaf6947951 Updated KaTeX to 0.6.0 2016-05-12 18:47:34 -05:00
Waylon Flinn
6d047604d2 fix package.json 2016-04-22 17:24:49 -05:00
Waylon Flinn
e785393afd add markdown-it to keywords 2016-04-22 17:23:59 -05:00
Waylon Flinn
fe9c7ee1d8 bump version for release 2016-04-22 14:07:18 -05:00
Waylon Flinn
fd1ff4d148 wrap display block in paragraph tag
closes #1
2016-04-22 14:06:27 -05:00
Waylon Flinn
a89d306414 test: display block output wrapped in paragraph 'p' tag 2016-04-22 14:06:00 -05:00
Waylon Flinn
4f4f83402b cleanup 2016-04-22 12:11:14 -05:00
Waylon Flinn
0c737c10ba don't match empty inline block 2016-04-22 12:05:08 -05:00
Waylon Flinn
bdb3036eb7 test: fix empty content test 2016-04-22 12:04:35 -05:00
Waylon Flinn
152877dc41 render unclosed display block 2016-04-22 11:59:42 -05:00
Waylon Flinn
2a45cb8b71 Merge pull request #3 from PaulSohn/patch-1
Fixed index.js delimeter logic
2016-04-22 11:55:30 -05:00
Waylon Flinn
d1b4eacd75 test: more inline tests from simplemath 2016-04-22 11:47:28 -05:00
Waylon Flinn
d82d995749 test: empty inline produces no render 2016-04-22 11:42:25 -05:00
Waylon Flinn
d399f3040c all tests from markdown-it-math 2016-04-21 17:40:44 -05:00
Waylon Flinn
60ac3e7d23 add travis badge 2016-04-21 15:24:58 -05:00
Waylon Flinn
75645e6c5d remove tabs from travis config 2016-04-21 15:20:06 -05:00
Waylon Flinn
3e32138fe0 travis config 2016-04-21 15:18:21 -05:00
Waylon Flinn
ddb89a5861 block math test fixture 2016-04-21 13:01:27 -05:00
Waylon Flinn
e31c2bab7a comments 2016-04-21 13:01:05 -05:00
Waylon Flinn
ae37a845e7 integrate markdown-it-testgen 2016-04-21 12:40:31 -05:00
Waylon Flinn
1423f6e58f unit testing setup 2016-04-21 12:06:29 -05:00
PaulSohn
c58b297f43 Fixed index.js delimeter logic
* Since the code is suggesting using only $ - $ for inline, $$ - $$ for block math syntax,
 specific delimiter for $ - $ and $$ - $$ is required, not general escape logic.
 also it will fix the issue #2.

* Some code optimization and variable name change was done.

* I found that 'throwOnError:false' option doesn't actually work on katex. They will still throw an error if the syntax is invalid.
 So instead of sending this directly, I fixed this code to catch the error internally, return the original latex token, and log it on the console when throwOnError option is explicitly set to true.
2016-04-21 20:56:33 +09:00
Waylon Flinn
1922f1d732 allow KaTeX options 2016-03-19 10:24:41 -05:00
Waylon Flinn
3e7261b90a add LICENSE 2016-03-11 10:06:42 -06:00
Waylon Flinn
1dcbfdff91 link to github stylesheet 2016-03-11 09:40:00 -06:00
Waylon Flinn
4ed1a48268 more complete example 2016-03-11 09:37:47 -06:00
Waylon Flinn
3fcb5615f9 funnies 2016-03-11 09:23:11 -06:00
Waylon Flinn
f0e49daca6 improve demo 2016-03-11 09:16:54 -06:00
Waylon Flinn
d24afe947e include markdown-it in usage instructions 2016-03-11 09:07:59 -06:00
Waylon Flinn
5c454f62a3 better formatting for intro links 2016-03-11 08:59:39 -06:00
Waylon Flinn
fc618204a4 link to demo on gh-pages 2016-03-11 08:57:34 -06:00
Waylon Flinn
2f37ee1476 add markdown-it as devDependency 2016-03-11 08:53:56 -06:00
Waylon Flinn
7368f20905 remove github css from master 2016-03-11 08:50:31 -06:00
Waylon Flinn
243d60eebc add git repo to package.json 2016-03-11 08:47:13 -06:00
Waylon Flinn
c462c97451 update KaTeX stylesheet reference 2016-03-11 08:38:46 -06:00
Waylon Flinn
a42f77c713 links to KaTeX and benchmark 2016-03-11 08:33:17 -06:00
Waylon Flinn
e4889ec726 add to markdown-it plugin directory 2016-03-11 08:24:12 -06:00
Waylon Flinn
c5a0bbc556 clarify usage 2016-03-11 08:06:29 -06:00
Waylon Flinn
2f0dd45d52 bump version 2016-03-11 08:04:01 -06:00