demizer / go-rst

Parse reStructuredText with Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow arbitrary insertion into the token ring buffer

demizer opened this issue · comments

An API for Item insertion into the token ring buffer. This will help clean up systemMessage().

When parsing an itemBlockQuote, the text of the item needs to be added onto the token ring manually so that the next go around in the parser will add the text as a paragraph to the NodeList of the blockquote. systemMessage() does this manually and the code doesn't read well.