Fix markups logic
ericclemmons opened this issue · 0 comments
ericclemmons commented
https://medium.com/@ericclemmons/jest-snapshots-for-storybook-5bf36b5e5a3a
Complex nesting of markups is hard to parse.
This warrants a unit test IMO.
https://github.com/jaysalvat/medium-json-parser/blob/master/src/MediumJsonParser/Parser.php is a good example for this, but I'm not sure it's flawless.