Closed inadarei closed 10 years ago
thanks!
@inadarei could you also make a pull request for tests for this?
Sure, may take me a little bit of time to get it together.
There's a @TODO somewhere there too, to not allow anything but <ol/>
or <ul/>
(since it wouldn't make sense) but I thought something was better than nothing.
Will try to create PR that includes that protection with the tests.
Thanks for accepting.
Currently TOC is created as an unordered list and there's no way to change that.
In some cases ordered list is much more preferable. This quick PR allows creation of TOC as an ordered list.