Commit graph

75 commits

Author SHA1 Message Date
yuin
eb2667632a Fixes #48 2019-12-02 13:17:08 +09:00
Yusuke Inuzuka
615d5706c6
Merge pull request #43 from moorereason/clean-lint
Clean lint
2019-12-02 03:17:56 +09:00
yuin
2f292e5b74 Fixes #44, Fixes #45 2019-12-02 03:10:06 +09:00
Cameron Moore
ff066ede82 Fix gofmt issues 2019-11-29 13:39:42 -06:00
Cameron Moore
748be0c096 Fix shadow declarations 2019-11-29 13:20:34 -06:00
yuin
9f9f8f0e5e Closes #41 2019-11-30 03:33:46 +09:00
yuin
54fc7c3f18 Closes #40 2019-11-29 17:03:00 +09:00
yuin
16b69522a4 Remove the WithWorkers option
Situations that concurrent inline parsing is effective are very limited
due to goroutine overheads and a parse context sharing mutex.
2019-10-31 17:46:02 +09:00
Yusuke Inuzuka
187643a437 Performance improvements, Add BlockParser.Trigger 2019-08-30 16:36:00 +09:00
Abhinav Gupta
8c55e6fa9c Move test utilities to testutil/
This moves the following functions meant for use from tests into a
testutil subpackage.

    func DoTestCase(m Markdown, testCase MarkdownTestCase, t TestingT)
    func DoTestCaseFile(m Markdown, filename string, t TestingT)
    func DoTestCases(m goldmark.Markdown, cases []MarkdownTestCase, t TestingT)

This will help keep the top-level goldmark package clean and limited to
core functionality.

(Note that tests in the top-level goldmark package that make use of
these functions must now use the package name `goldmark_test` so that
they're considered separate from the main `goldmark` package, otherwise
you'll see an import cycle: goldmark imports testutil imports goldmark.)
2019-08-25 03:18:18 -07:00
Liang Ding
e7035b1993
♻️ Remove redundant check 2019-08-10 00:39:46 +08:00
Liang Ding
0c44174564
🎨 Remove redundant slice assignment 2019-08-09 23:46:25 +08:00
yuin
21b4a046d0 Fix bugs in footnotes 2019-07-24 20:55:37 +09:00
yuin
19b18e85fc Fix bug found in fuzzing 2019-07-24 20:16:54 +09:00
yuin
883918a85c Fix bugs found in fuzzing 2019-07-18 18:01:01 +09:00
yuin
05645dd3c4 Add String node 2019-05-30 16:07:04 +09:00
yuin
2ddc99baff Add extension tests, Fix bugs in extensions 2019-05-16 19:46:36 +09:00
yuin
ad605c0a32 Performance optimizations 2019-05-06 12:34:17 +09:00
yuin
d9164d2556 Rename options names 2019-05-06 01:14:17 +09:00
yuin
28b28e34bb Add Typographer extension 2019-05-06 00:53:22 +09:00
yuin
45222d6b03 Refactoring 2019-05-04 19:27:13 +09:00
yuin
e9b382fb0a Add footnote exteision 2019-05-04 19:21:33 +09:00
yuin
d4d7acb277 Add a definition list extension, some refactoring 2019-05-02 22:22:05 +09:00
yuin
987f65f813 Performance optimizations 2019-05-01 20:32:41 +09:00
yuin
dd89404e04 first commit 2019-04-26 20:27:01 +09:00