Commit graph

352 commits

Author SHA1 Message Date
OMOTO Tsukasa
9d0b1b6bb8 Define EastAsianLineBreaksStyle to specify behavior of line breaking 2023-09-24 14:25:28 +09:00
OMOTO Tsukasa
dc2230c235 fix tests 2023-09-10 18:48:44 +09:00
OMOTO Tsukasa
2367b9ff46 add comments 2023-09-10 15:17:16 +09:00
OMOTO Tsukasa
6cbcfebb71 Add a WorksEvenWithOneSide option to EastAsianLineBreak 2023-09-10 15:08:57 +09:00
OMOTO Tsukasa
6ef9b10a3a Improve line breaking behavior for east asian characters
This commit aims to produce more natural line breaks in the rendered output.
2023-08-27 15:13:49 +09:00
yuin
d39ab8f93e Runs linters only if on the linux 2023-08-15 18:53:16 +09:00
yuin
9b02182dd0 Apply linters 2023-08-15 18:40:41 +09:00
Yusuke Inuzuka
ac56543632
Merge pull request #409 from henry0312/support_cjk_symbols_and_punctuation
Add support for CJK Symbols and Punctuation
2023-08-13 22:26:44 +09:00
OMOTO Tsukasa
2f1b40d881 Support CJK Symbols and Punctuation
This commit adds support of CJK Symbols and Punctuation to `func IsEastAsianWideRune`
2023-08-13 13:45:19 +09:00
yuin
254b9f8f77 Fix #403, Fix #406 2023-07-23 22:07:27 +09:00
yuin
31ccfc4039 update benchmark 2023-06-17 19:36:11 +09:00
Yusuke Inuzuka
b2df67847e
Merge pull request #353 from silvergasp/master
fuzz: Make goldmark compatible with OSS-Fuzz
2023-05-30 17:13:45 +09:00
Yusuke Inuzuka
4536092b45
Merge pull request #337 from piggynl/test-timeout-multiplier
extra_test.go: Add test timeout multiplier environment variable
2023-05-30 17:08:42 +09:00
yuin
2ce4086884 move to stale actions 2023-05-29 14:52:23 +09:00
Yusuke Inuzuka
d9067d2324
Merge pull request #391 from yilei/goldmark-figure
Adds goldmark-figure to the extension list.
2023-05-08 14:31:54 +09:00
Yilei Yang
69a0811de5 Shorten the description. 2023-04-25 19:48:48 -07:00
Yilei Yang
e46b1b5305 Adds goldmark-figure to the extension list. 2023-04-25 19:47:22 -07:00
Yusuke Inuzuka
8e2127faa4
Merge pull request #350 from ohanan/master
feat(reader): work for cjk in findSubMatchReader
2023-04-06 17:14:12 +09:00
Yusuke Inuzuka
c6f0e7e0c5
Merge pull request #380 from abhinav/frontmatter-ext
README/extensions: Add goldmark-frontmatter
2023-03-21 20:55:02 +09:00
Yusuke Inuzuka
d47eaf8c2d
Merge pull request #379 from tenkoh/update/readme
Update README.md - add extension
2023-03-21 20:54:48 +09:00
Abhinav Gupta
078e8aa5bb README/extensions: Add goldmark-frontmatter
Adds [goldmark-frontmatter](https://github.com/abhinav/goldmark-frontmatter)
to the extension list.
2023-03-16 13:51:36 -07:00
tenkoh
42f759fbe6
Update README.md - add extension
Add extension `goldmark-img64` to support embedding images as DataURL.
2023-03-13 12:49:02 +09:00
Yusuke Inuzuka
9d6f314b99
Merge pull request #363 from abhinav/patch-1
README/extensions: Add goldmark-anchor
2023-02-08 05:23:17 +09:00
Abhinav Gupta
3505399723
README/extensions: Add goldmark-anchor
Adds [goldmark-anchor](https://github.com/abhinav/goldmark-anchor) to the extension list.
2023-02-04 15:48:41 -08:00
yuin
82ff890073 Fix #361 2023-02-02 21:02:21 +09:00
Yusuke Inuzuka
550b0c7ca0
Merge pull request #358 from jmooring/issue-357
Add role to global HTML attributes
2023-01-30 22:58:31 +09:00
Joe Mooring
c446c414ef Add role to global HTML attributes
Closes #357
2023-01-27 11:07:07 -08:00
Nathaniel Brough
5e78751e90 fuzz: Make goldmark compatible with OSS-Fuzz
This set of changes will make goldmark compatible with the fuzzing
requirements for google/oss-fuzz, a continuous fuzzing service.
To ensure compatibility this change adds;
- A seperate fuzzing target that doesn't use the builtin fuzz corpus
- A tool to convert the builtin fuzz corpus to a zip file corpus
  that is compatible with oss-fuzz
2023-01-19 12:16:00 -08:00
lihuanan
023c1d9d21 feat(reader): work for cjk in findSubMatchReader
Change-Id: Id30a946c4e78e7cdaf0fa7af9300b98f754e5b80
2023-01-09 17:30:16 +08:00
Yusuke Inuzuka
60df4aadee
Merge pull request #344 from hjr265/patch-1
Adding two extensions to README.md
2022-12-26 03:30:49 +09:00
Mahmud Ridwan
a0962b569b
Update README.md 2022-12-25 13:17:07 +06:00
yuin
a87c5778f9 Fix #333 2022-11-12 20:13:03 +09:00
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