streaming interface for converting markdown to tokens with marked