aziz / PlainTasks

An opinionated todo-list plugin for Sublime Text editor (version 2 and 3)
MIT License
3.29k stars 287 forks source link

Markdown Line Breaks & Auto-tags #317

Closed tvanyo closed 7 years ago

tvanyo commented 7 years ago

Have just started to use PlainTasks and am trying to use it with Markdown for meeting notes. I typically render my Markdown using Marked 2 to mail and to get hard line breaks between tasks per the Markdown "spec" I need to add 2 spaces at the end of the line.

However, when I later add the "@done" or other tag, it is getting added to after the double spaces and I then have to add additional spaces for rendering again.

Any chance of getting this to look for consecutive spaces at the end of the line and then inserting the tags there so the spaces don't have to be retyped?

tvanyo commented 7 years ago

Thanks for the quick fix! Saw the code change; it probably would have taken me a couple of weeks to find that.