Commit graph

83 commits

Author SHA1 Message Date
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
9b02182dd0 Apply linters 2023-08-15 18:40:41 +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
a87c5778f9 Fix #333 2022-11-12 20:13:03 +09: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
yuin
20df1691ad Fix #321 2022-09-02 20:08:28 +09:00
Mark Rosemaker
1efd8073c5 Update table.go 2022-07-13 19:38:47 +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
yuin
6bdcc0f927 Fix #300 2022-04-14 15:10:12 +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
4477be72ee Fix #235 2021-10-24 17:49:45 +09:00
Yusuke Inuzuka
baec0941d2
Merge pull request #205 from brief/fix-footnote-backlinks
Keep backlinks with footnote text
2021-04-11 00:04:38 +09:00
yuin
ab798ea4aa Fixes #213 2021-04-11 00:00:44 +09:00
brief
017596e61e Keep backlinks with footnote text
Inserts a non-breaking space before backlinks to prevent them from being separated from footnote text.
2021-03-28 08:39:43 -07:00
yuin
2913ca2902 Fixes a bug related to escaped pipes in a table cell 2021-03-20 17:07:23 +09:00
Cameron Moore
3d7ce16f2f
Fix Linkify to allow host with beginning single-letter domain label
Fixes #190
2021-01-30 08:48:27 -06:00
yuin
6c741ae251 Fixes #176 2020-12-26 18:09:14 +09:00
Yusuke Inuzuka
748fc079dc
Merge pull request #172 from moorereason/typos
Fix typos in godocs comments
2020-12-26 18:02:24 +09:00
yuin
036c8738df Fixes #164, Fixes #167 2020-12-26 17:56:42 +09:00
Cameron Moore
5e417f871d Fix typos in godocs comments 2020-12-17 10:51:19 -06:00
yuin
9e0189df27 Closes #161
- Implement footnote configurations defined in original markdown extra.
- Add OwnerDocument() method to ast.Node
- Add Meta() method to *ast.Document
2020-12-13 23:11:07 +09:00
Helder Pereira
6de424ee3b Support URLs with port in Linkify 2020-09-19 14:48:35 +01:00
yuin
7b90f04af4 Refactoring 2020-08-26 20:22:51 +09:00
yuin
91e5269fb0 Fixes #148 2020-07-30 22:33:42 +09:00
yuin
bd58441cc1 Fixes #78 2020-07-21 19:32:52 +09:00
yuin
3c3d4481ef Fixes #141 2020-07-02 15:44:34 +09:00
yuin
feff0bb82b Add case=x,x.. aruguments for tests 2020-07-02 15:28:33 +09:00
yuin
33089e232f Improve typographer 2020-06-04 15:26:24 +09:00
yuin
4709d43b81 Fixes #127 2020-05-22 18:39:02 +09:00
yuin
3393022ab6 Fixes #39, Fixes #127, Fixes #128, Fixes #129 2020-05-21 18:13:20 +09:00
yuin
1f967da77c remove debug print 2020-04-16 00:29:11 +09:00
yuin
66874b397f Fixes #122 2020-04-15 11:16:46 +09:00
yuin
54b1e988cc Fixes #121 2020-04-13 18:44:57 +09:00
yuin
785b85a76a Fixes #115 2020-03-25 15:39:51 +09:00
Alexander Scheel
5c877c8afe
Insert space after task-list checkboxes
According to the GFM spec (and per other implementations), a space
should be inserted after the checkbox input element. This gives visual
separation between the checkbox and its element. Update code and tests
to match.

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
2020-03-07 21:14:45 -05:00
pzl
8bdab9449a
documentation typo fixes 2020-02-14 22:03:49 -05:00
Daniel Tang
45fa0e2645 typographer: add basic support for apostrophes 2020-01-09 15:35:41 -08:00
yuin
4b54582dee Fixes #83, Adds options for Linkify 2020-01-02 01:36:46 +09:00
Yusuke Inuzuka
2c9db0c8fa
Merge pull request #78 from zzwx-forks/master
Additional <thead>, <tr>, <th>, <td> attributes render
2019-12-26 12:02:50 +09:00
yuin
66a48f66b8 Fixes linkify regression.
https://github.github.com/gfm/#example-627 says '<' immediately ends an autolink.
But goldmark had continued to autolink with '<' due to recently changes.
2019-12-25 15:07:45 +09:00
zzwx
224bf7d721 Additional attributes render with comments 2019-12-24 19:37:21 -05:00
yuin
12851a08ba Fixes #70, #74 2019-12-22 22:27:39 +09:00
zzwx
5690da2615 Render table attributes 2019-12-20 19:52:09 -05:00