Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Pack ParseConfig into Stream. Allow multiple nodes to be returned at once. Break WholeElement into multiple ParseNodes. * Whoops, don't override the existing node whenever there's text. * Make Result a generic type so I actually know what I'm returning in each spot. * Keep escaping markdown code spans * Properly clear the last node when I stop seeing nodes. * Move curlifying over to a final step I do on text nodes. * Handle *all* the places where Text gets generated, and move curlify to a Text method. * Argh, still need to check for a word character after the apos. * Cache the length of the stream * Allow for nodes to *decrement* the line count as well, if they print to more lines than they occupied in the source. * Update tests * lint
- Loading branch information