yuin
d9c03f07f0
Deprecate Node.Text
...
Node.Text was intended to get a text value from some inline nodes.
A 'text value' of a Text node is clear.
But
- BaseNode had a default implementation of Node.Text
- Lacks of GoDoc description that Node.Text is valid only for
some inline nodes
So, some users are using Node.Text for BlockNodes.
A 'text value' for a BlockNode is not clear.
e.g. : Text value of a ListNode
- It should be contains list markers?
- What do characters concatinate List items with? newlines? spaces?
- If it contains codeblocks, codeblocks should be fenced or indented?
Now we would like to avoid such ambiguous method.
2024-10-16 20:47:35 +09:00
yuin
ad1565131a
Fix #470
2024-10-15 19:19:41 +09:00
yuin
bc993b4f59
Fix testcases
2024-10-12 23:12:47 +09:00
Andrew Morozko
fd14edc9bc
Fix panic in table parser
2024-08-15 23:38:43 +04:00
yuin
a590622b15
Fixes #455
2024-06-14 22:05:13 +09:00
Camden Cheek
9c09ae0019
support single-tilde strikethrough
2024-06-11 11:16:22 -06:00
yuin
4bade05173
Drop Go1.18 support
2024-01-23 22:41:12 +09:00
yuin
9c9003363f
Simplify EastAsianLineBreaks
2023-10-28 17:57:55 +09:00
Yusuke Inuzuka
a89ad04c49
Merge pull request #411 from henry0312/update_cond_east_asian_line_breaks
...
Define line break styles for east asian characters as options
2023-10-28 17:27:21 +09:00
OMOTO Tsukasa
6b3067e7e7
Implements CSS3Draft
2023-10-24 21:54:35 +09:00
roife
04d4dd50ab
Fix #418
2023-09-29 02:41:10 +08:00
OMOTO Tsukasa
8c6830d73b
fix errors of lints
2023-09-24 15:07:17 +09:00
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
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
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