mirror of
https://github.com/yuin/goldmark
synced 2025-03-04 23:04:52 +00:00
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. |
||
|---|---|---|
| .. | ||
| _test | ||
| ast | ||
| ast_test.go | ||
| cjk.go | ||
| cjk_test.go | ||
| definition_list.go | ||
| definition_list_test.go | ||
| footnote.go | ||
| footnote_test.go | ||
| gfm.go | ||
| linkify.go | ||
| linkify_test.go | ||
| package.go | ||
| strikethrough.go | ||
| strikethrough_test.go | ||
| table.go | ||
| table_test.go | ||
| tasklist.go | ||
| tasklist_test.go | ||
| typographer.go | ||
| typographer_test.go | ||