bhauman / devcards

Devcards aims to provide a visual REPL experience for ClojureScript
1.53k stars 113 forks source link

Fix block whitespace stripping to allow for nested bullet lists #70

Closed awkay closed 8 years ago

awkay commented 8 years ago

If you use nested bullets in markdown in a card, it loses the nesting.

The approach I'm going to take is to sense the left edge boundary of the first bullet line, and then trim bullet item lines by that amount; otherwise make the processing strip all ws as it currently does.