Closed BradlySharpe closed 8 years ago
Sorry, I had to revert this one because I doesn't work very well: when you create an headerFragment the html rendering below gets strange (it has something to do with :before element or the icon...). Try adding two or three H one after the other: it seems like the second one get moved to the right
Will give it a go now, I thought I had tested that one.
I was going to do if (!something) { return; }
but thought this provides better readability and less lines. Happy to change it though.
Fixes issue #13.
Not sure if there may be a better way of doing this. The problem is the regex for the headings expects the heading to be on a line by itself.