deckar01 / task_list

Markdown Task List feature components
MIT License
9 stars 7 forks source link

Use 'sourcepos' information when available #30

Closed digitalmoksha closed 4 years ago

digitalmoksha commented 4 years ago

@deckar01 this adds support for detecting and using the sourcepos information if it's available. This allow us to avoid the regex parsing when possible.

I attempted to DRY up the tests, as I hated to duplicate all of them. Let me know if you want a different style or format.