Hiya! What do you think of this? Currently the literal members of Code and CodeBlock nodes isn't exposed anywhere.
The discrepancy between these and text()-fetchable things is a bit unfortunate on the Comrak side, but it's a side-effect of its legacy (i.e. the implication that text() means "get me the content of a Text node, and fail if it isn't one") — I see no reason to do the same to string_content just because of what it's backed by currently.
Hiya! What do you think of this? Currently the
literal
members of Code and CodeBlock nodes isn't exposed anywhere.The discrepancy between these and
text()
-fetchable things is a bit unfortunate on the Comrak side, but it's a side-effect of its legacy (i.e. the implication thattext()
means "get me the content of a Text node, and fail if it isn't one") — I see no reason to do the same tostring_content
just because of what it's backed by currently.Fixes #289.