gedit-trailsave
gedit-trailsave copied to clipboard
Markdown
In Markdown trailing whitespaces equal a enforced linebreak. Prevent stripping of "\s\s" if the document is a Markdown document.
I saw this and it seems that it could be made much more generic and configurable. Is it possible to have a user-configurable setting that gives a list of excluded filename extensions? Then any file whose name ends with one of those extensions would not be modified by this plugin. The extension ".md" could be one of those extensions by default. Following the existing pattern of the PATH environment variable in Linux, the list could be a single string that contains colon-delimited extensions.