Lyric Wai
c05fb087a4
Update README.md
...
Update `goldmark-enclave` url and information
2025-02-18 23:33:14 +09:00
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
65dcf6cd0a
Add warning to Node.Text GoDoc
2024-10-15 19:22:00 +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
yuin
41273a4d07
Fix EOF rendering
2024-10-12 23:05:37 +09:00
Yusuke Inuzuka
d80ac9397c
Merge pull request #462 from Andrew-Morozko/table_fix
...
Fix panic in table parser
2024-10-12 22:46:35 +09:00
yuin
15000ac6a1
Fix lint errors
2024-10-12 22:42:46 +09:00
Yusuke Inuzuka
14d91f957f
Merge pull request #432 from dr2chase/master
...
update unsafe code to user newer-faster-better idioms
2024-10-12 22:42:18 +09:00
yuin
3847ca20c6
lazy initialize html5entities
2024-10-12 22:37:57 +09:00
yuin
697e44ce88
Fix #464 , Fix #465
2024-10-12 22:18:27 +09:00
yuin
fa88006eee
Fix #466
2024-10-12 19:17:05 +09:00
Yusuke Inuzuka
fe34ea5d96
Merge pull request #460 from cbednarski/b-ast-block-text
...
Add Text() retrieval for BaseBlock types
2024-10-12 18:24:34 +09:00
Andrew Morozko
fd14edc9bc
Fix panic in table parser
2024-08-15 23:38:43 +04:00
Chris Bednarski
e367755421
Added test for BaseBlock.Text retrieval
2024-07-25 23:40:45 -07:00
Chris Bednarski
e44645afbb
Implement Text interface for BaseBlock
...
This implementation was missing, making it impossible to retrieve Text
from block types, such as CodeBlock and FencedCodeBlock, via the ast
interface.
2024-07-25 22:37:54 -07:00
yuin
15ade8aace
Fixes #457
2024-06-25 23:29:29 +09:00
yuin
dc32f35808
Fix lint errors
2024-06-23 22:09:11 +09:00
yuin
25bdeb0fee
Fixes #456
2024-06-23 21:46:17 +09:00
yuin
a590622b15
Fixes #455
2024-06-14 22:05:13 +09:00
Yusuke Inuzuka
fde4948b4d
Merge pull request #455 from camdencheek/support-single-tilde-strikethrough
...
GitHub flavored markdown: support single-tilde strikethrough
2024-06-14 21:26:16 +09:00
Camden Cheek
9c09ae0019
support single-tilde strikethrough
2024-06-11 11:16:22 -06:00
Yusuke Inuzuka
c15e394c27
Merge pull request #448 from movsb/fix-attribute-string
...
make RenderAttributes() accept both []byte and string
2024-04-03 18:46:06 +09:00
movsb
e405d57be0
make SetAttributeString() accept both []byte and string
2024-04-02 20:00:37 +08:00
Yusuke Inuzuka
ce6424aa0e
Merge pull request #446 from mr-chelyshkin/goldmark-tgmd
...
add link to goldmark-tgmd renderer
2024-03-24 21:08:58 +09:00
mr-chelyshkin
09afa2feba
add link to goldmark-tgmd renderer
2024-03-23 08:12:08 +02:00
Yusuke Inuzuka
4f3074451e
Merge pull request #443 from philipparndt/patch-1
...
docu: update example as it will not build
2024-02-29 14:35:50 +09:00
Philipp Arndt
4675c66d3d
docu: update example as it will not build
2024-02-19 07:56:40 +01:00
yuin
848dc66530
Add playground link
2024-02-03 20:12:14 +09:00
yuin
b8d6d3a9b7
Bump up CommonMark Spec to 0.31.2
2024-02-02 21:13:09 +09:00
yuin
90c46e0829
Remove io/ioutil s
2024-01-23 22:45:14 +09:00
yuin
4bade05173
Drop Go1.18 support
2024-01-23 22:41:12 +09:00
David Chase
2b845f2615
update unsafe code to user newer-faster-better idioms
2023-11-28 11:16:10 -05:00
Yusuke Inuzuka
e3d8ed9725
Merge pull request #429 from movsb/extension-wiki-table
...
Add extension: wiki-table
2023-11-21 19:16:40 +09:00
movsb
697cd509b1
Add extension: wiki-table
2023-11-21 08:34:34 +08:00
Yusuke Inuzuka
ff3285aa2a
Merge pull request #427 from lyricat/patch-1
...
README/extensions: Add goldmark-enclave
2023-11-20 18:09:01 +09:00
Lyric Wai
c2167685c1
Add an extension, goldmark-enclave
2023-11-17 19:47:10 +09:00
yuin
39a50c623e
Add goldmark-dynamic
2023-11-03 21:27:34 +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
yuin
6442ae1259
Fix #416
2023-10-14 18:02:09 +09:00
Yusuke Inuzuka
68e53654f2
Merge pull request #419 from roife/master
...
Fix #418
2023-10-08 21:43:29 +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
792af6819e
Updat README.md
2023-09-24 14:25:34 +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
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