Callbacks from MarkupFormatter
Opened this issue · 0 comments
amyworrall commented
I am using MarkupFormatter. I need to know the precise string range for certain bits of markup in the outputted string.
I'm suggesting an API for MarkupFormatter that does a callback whenever it is processing a node, giving access to State. (Preferably a willProcess then a didProcess). That way I could store the relevant bits of state that I needed.