Commit graph

320 commits

Author SHA1 Message Date
Piggy NL
b1ef69a870 Add test timeout multiplier environment variable 2022-11-11 17:55:35 +08:00
Yusuke Inuzuka
aaeb9851a6
Merge pull request #332 from stefanfritsch/feature-fences
Add link to goldmark-fences
2022-10-29 21:08:18 +09:00
stefanfritsch
34756f289f
Add link to goldmark-fences 2022-10-24 22:22:32 +02:00
yuin
c71a97b837 Fixed bug related newline code 2022-09-25 23:47:23 +09:00
yuin
ae42b9179f Fix bug that escaped space not working with Linkfy extension 2022-09-25 19:39:48 +09:00
yuin
1dd67d5750 Add CJK extension 2022-09-25 03:31:14 +09:00
Yusuke Inuzuka
95efaa1805
Merge pull request #324 from soypat/patch-1
Add goldmark-latex extension to README.md
2022-09-23 20:30:56 +09:00
yuin
a3630e3073 Fix #323 2022-09-19 20:39:17 +09:00
Patricio Whittingslow
3923ba0148
Add goldmark-latex extension to README.md 2022-09-04 18:54:21 -03:00
yuin
20df1691ad Fix #321 2022-09-02 20:08:28 +09:00
yuin
175c5ecd0c Drop go 1.17 support 2022-08-06 19:59:30 +09:00
Yusuke Inuzuka
d77f38c53d
Merge pull request #316 from vincentbernat/fix/svg-mime-type
Fix SVG mime type (image/svg+xml)
2022-07-30 05:12:45 +09:00
Yusuke Inuzuka
42509ee585
Merge pull request #314 from MarkRosemaker/common-sense-NewTableRow
NewTableRow: use given parameter
2022-07-30 05:12:33 +09:00
Vincent Bernat
db82c79f20 Fix SVG mime type (image/svg+xml)
In PR #298, I was using image/svg for the MIME type for SVG image.
This is in fact image/svg+xml. Sorry for that.
2022-07-22 21:26:18 +02:00
Mark Rosemaker
1efd8073c5 Update table.go 2022-07-13 19:38:47 +02:00
yuin
c0856327b3 Fix #313 2022-07-09 16:22:17 +09:00
Yusuke Inuzuka
8c219a7562
Merge pull request #304 from KevSlashNull/patch-1
Fix typo in README extension list
2022-04-30 19:11:51 +09:00
Kev
41e371a2d6
Fix typo in README extension list 2022-04-26 22:44:12 +02:00
yuin
113ae87dd9 Fix #258 2022-04-23 22:07:33 +09:00
yuin
fb6057bf26 Fix #256 2022-04-23 21:57:38 +09:00
Yusuke Inuzuka
6bda32624d
Merge pull request #298 from vincentbernat/fix/svg-avif-safe
renderer: image/svg is also safe
2022-04-14 19:57:26 +09:00
yuin
6bdcc0f927 Fix #300 2022-04-14 15:10:12 +09:00
Vincent Bernat
fc877ab357 renderer: image/svg is also safe
When used in an image context, SVG cannot execute scripts, be styled
or fetch additional resources. So, they are as safe as other formats.

When used in a `<a>` tag, it could starts executing JS, but only in
its own context, so it shouldn't be dangerous either.

This raises the question on which image format is dangerous.
2022-04-03 23:34:20 +02:00
Yusuke Inuzuka
e29c1a5dfa
Merge pull request #294 from PaperPrototype/patch-1
Added goldmark-embed to Extensions
2022-03-28 20:40:00 +09:00
Yusuke Inuzuka
96e98dca10
Merge pull request #293 from zhsj/short-test
Skip performance test in short mode
2022-03-28 20:39:48 +09:00
Abdiel Lopez
84ce6bc8ba
Added goldmark-embed to Extensions
Adds support for rendering embeds from YouTube links.
2022-03-26 11:56:57 -04:00
Shengjing Zhu
f28136bf1c Skip performance test in short mode
When packaging this library for Debian, some CI servers are slow
to run performance tests.
2022-03-23 16:07:28 +08:00
yuin
6d6707526e Drop go 1.16 support 2022-03-20 18:31:47 +09:00
Yusuke Inuzuka
31179abc2d
Merge pull request #288 from jchenry/patch-1
Update README.md
2022-03-20 17:57:49 +09:00
Yusuke Inuzuka
2184cbf49b
Merge pull request #292 from jmooring/add-global-attributes
Add global HTML attributes
2022-03-20 17:57:33 +09:00
Yusuke Inuzuka
67340c7d10
Merge branch 'master' into add-global-attributes 2022-03-20 17:57:16 +09:00
Yusuke Inuzuka
5ffbecc0c5
Merge pull request #290 from jmooring/remove-obsolete-global-attributes
Remove obsolete global HTML attributes
2022-03-20 17:55:58 +09:00
Joe Mooring
8da81dfae2 Add global HTML attributes
Closes #291
2022-03-18 12:39:30 -07:00
Joe Mooring
3563ceb58e Remove obsolete global attributes
Closes #289
2022-03-18 12:01:33 -07:00
Colin Henry
f04f7f5340
Update README.md
added link to goldmark-pikchr
2022-03-16 21:16:21 -07:00
yuin
e64a68fc13 Fix #287 2022-03-12 17:18:59 +09:00
yuin
0af271269f Fix #285 2022-03-09 04:01:30 +09:00
yuin
a816d4652e Fix tests for Go1.16 2022-03-05 18:56:34 +09:00
yuin
920c3818d4 Improve raw html parsing performance 2022-03-05 18:45:57 +09:00
yuin
be2bf82af9 Fix performance problems related link labels 2022-03-05 17:37:40 +09:00
yuin
5ba3327fda Fix fuzzer 2022-02-19 18:32:12 +09:00
Yusuke Inuzuka
1def545b06
Merge pull request #280 from natemoo-re/fix/typographer
Improve Typographer Edge Cases
2022-02-19 04:53:02 +09:00
Nate Moore
7aa0ead60c remove log 2022-02-17 10:13:49 -06:00
Nate Moore
5e24a62400 add comment to clarify case 2022-02-17 10:13:18 -06:00
Nate Moore
a6c48071ed fix typographer leading apostrophe for abbreviations 2022-02-17 10:04:21 -06:00
Nate Moore
7b616a4c80 fix typographer single quote edge cases 2022-02-17 09:41:29 -06:00
Nate Moore
c3b7691431 add failing typographer tests 2022-02-16 22:27:33 -06:00
yuin
b7b0919dfe Add AddMeta 2022-02-12 19:01:55 +09:00
yuin
41b1d4542d Update benchmark 2022-02-08 19:24:52 +09:00
yuin
f6e93ffd8f Fix #274, Fix #275 2022-02-08 17:15:15 +09:00