Commit graph

115 commits

Author SHA1 Message Date
Yusuke Inuzuka
4e0c22a20e
Merge pull request #170 from moorereason/deadcode
Remove unused global code
2020-12-26 18:01:11 +09:00
yuin
036c8738df Fixes #164, Fixes #167 2020-12-26 17:56:42 +09:00
Cameron Moore
fa0cf89934 Remove unnecessary buffer
Remove buf, which appears to be created and appended to but never used
for anything.  Found with staticcheck check SA4010 ("The result of
append will never be observed anywhere").
2020-12-17 10:30:44 -06:00
Cameron Moore
af880df797 Remove unused global code 2020-12-17 10:26:46 -06:00
yuin
7b90f04af4 Refactoring 2020-08-26 20:22:51 +09:00
yuin
3c3d4481ef Fixes #141 2020-07-02 15:44:34 +09:00
yuin
4a49786b16 Fixes #136 2020-06-04 15:26:24 +09:00
yuin
a302193b06 Closes #124 2020-04-19 15:58:14 +09:00
yuin
184f8ef622 Fixes #123 2020-04-16 11:34:53 +09:00
yuin
2bfdf48a98 Fix invalid handling of settext in lists 2020-03-10 16:31:55 +09:00
yuin
5ab7c64e28 Fixes #111 2020-03-08 17:55:02 +09:00
jsteuer
2a86c1ea31 allow inline links with empty link text. see #101 2020-02-16 17:56:09 +01:00
pzl
8bdab9449a
documentation typo fixes 2020-02-14 22:03:49 -05:00
yuin
39db45a099 Fixes #94 2020-01-27 14:56:49 +09:00
yuin
f9b134f6be Fixes #81 2019-12-27 16:03:11 +09:00
yuin
923eb97048 Fixes #71 2019-12-22 23:31:22 +09:00
yuin
12851a08ba Fixes #70, #74 2019-12-22 22:27:39 +09:00
Dmitry Sedykh
e0a5ff07c2 put ID to generator 2019-12-22 09:46:40 +03:00
yuin
26fb0b56e6 Fixes gohugoio/hugo#6626 2019-12-18 15:46:54 +09:00
yuin
6d2e5fddae Fix #64 and some lint warnings 2019-12-16 11:08:45 +09:00
yuin
171dbc66a8 Fixes #50 2019-12-05 13:39:55 +09:00
yuin
8a50115f03 Remove unsed variables 2019-12-02 18:26:06 +09:00
yuin
5334c63923 Change IDs argumnent 2019-12-02 18:24:22 +09:00
yuin
ac8e225cd3 Fix invalid handling of consecutive code spans 2019-12-02 17:13:37 +09:00
yuin
68dcec6ac4 Closes #46 : Add WithIDs option 2019-12-02 14:38:28 +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
74e1374f5a Use io.ByteWriter 2019-11-29 13:42:55 -06:00
Cameron Moore
3dc5ebdb17 Fix golint issues 2019-11-29 13:31:28 -06:00
Cameron Moore
748be0c096 Fix shadow declarations 2019-11-29 13:20:34 -06:00
yuin
8549b83b0c Fixes gohugoio/hugo#6549 2019-11-29 17:21:05 +09:00
yuin
6c55ba55a1 Fixes #36 2019-11-27 03:00:17 +09:00
yuin
4536e57938 Fixes #35 2019-11-25 20:35:02 +09:00
yuin
fba5de7344 Fixes #34 2019-11-24 20:17:02 +09:00
yuin
9dec7e9e8b Fixes #31 2019-11-20 01:10:18 +09:00
yuin
afc3654ecf Fixes #28, #29 2019-11-16 21:11:57 +09:00
yuin
ea8789f650 Fixed #27 2019-11-11 03:59:36 +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
Yusuke Inuzuka
667a2920f2 Change attribute parsing strategy 2019-08-28 20:29:23 +09:00
Liang Ding
6f6884271d
✏️ Fix typos 2019-08-07 18:15:09 +08:00
yuin
a27b0ef209 Fix bugs found in fuzzing 2019-07-25 16:59:07 +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
LI Tao
6369ad43e8 Fix inaccurate indent calculation of list_item and add extra test to cover the case 2019-07-16 13:05:14 +08:00
yuin
dd1590372c Add a new attribute parser 2019-07-12 18:52:15 +09:00
yuin
7b1dd7b221 Issue #12 : dos style newline breaks fence code block 2019-05-23 11:27:25 +09:00
yuin
2ddc99baff Add extension tests, Fix bugs in extensions 2019-05-16 19:46:36 +09:00
yuin
1963434c50 Fix some vet errors, Improve attributes on ATXHeadings 2019-05-16 12:37:49 +09:00
yuin
e481813300 Issue #4: Fix invalid leading spaces with attributes 2019-05-15 23:06:08 +09:00
yuin
6703518300 Issue #4: Fix invalid leading spaces with attributes 2019-05-15 22:56:52 +09:00
yuin
4ff89123a4 Issue #5 : Fixed 'index out of range' error when FilterTags exists 2019-05-15 17:54:37 +09:00
yuin
31fd0f6b4c Issue #3 : failed to parse attributes 2019-05-15 17:43:57 +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
08a89f162a Refactoring 2019-05-05 15:08:50 +09:00
yuin
785421acb4 Add WithAttribute 2019-05-05 13:42:39 +09:00
yuin
bdde5e8472 Rename option names 2019-05-04 22:25:41 +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
9b40d12434 Performance optimization 2019-05-02 22:51:24 +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
a8a4629dd9 Add parser.ParseContext 2019-04-28 19:54:33 +09:00
yuin
dd89404e04 first commit 2019-04-26 20:27:01 +09:00