I love that scrivener handles some of the multimarkdown … marking for you (headers on export, and footnotes, for example). I’d love to see more of that.
Examples:
- Add a toggle to the formatting bar that causes it to behave normally, or as a multimarkdown marker. When in markdown mode, any styling that we apply shows up in the form of multimarkdown code.
For example: When text is marked as bold in markdown mode, the “**” symbols will be applied before and and after the selected text.
Otherwise, in “normal” mode, it is bolded visually, and you can then optionally convert that normal bolding to markdown in the compile process.
I’d like to see the same functionality for italics and lists
- The same markdown toggle button could be used to apply blockquote marking to a selection of text (spanning multiple paragraphs for example) and mark them as a single block quote, or a block quote per paragraph (need another option for “per element” or something).
Otherwise, in normal mode, the blockquote formatting would be applied visually and, seeing as stylesheets will be coming soon (I presume this will supplant the formatting templates), can be converted to multimarkdown as a post conversion.
- give the user the ability to add an html wrapper to a selection of text.
I imagine a workflow where I select some text and then choose a wrapper, such as
I’d also like to be able to create my own custom wrapper where I designate my own open and closing tags, and save these settings as custom presets. If you make this generic, I could add a div with a custom class like so:
Or I could add a multi-line wrap such as:
Opening tag:
Or I could add something completely arbitrary, such as:
Opening tag:
A bunch of Nonsense blah blah blah (maybe an empty line would be more useful)
Closing tag:
goodbye (this is your closing tag)
- A feature that enables you to specify a specific or set of specific markdown or html tag type/s, and have it/them automatically removed from the selected text, the current doc, or a selection of doc/subdocs.
So, if I choose
The same sort of smart deletion would apply to markup such as the bold “**” marks before and after a selection - if one half is within the selection, both are removed.
- This one isn’t exclusively useful for markdown, but it definitely applies: In the separators section of the compile settings, make it possible for someone to make more than one rule per scenario, such as a blank line and a page break.
Also, when a custom rule is used, make the entry capable of supporting more than one line of text. One way I would use this is to automatically add one or more html wrappers, perhaps followed and/or preceded by a blank line.