RFC 7764 Guidance on Markdown and text/markdown March 2016
Section: 2. Strategies for Preserving Media Type and Parameters
§ 4 states:
[RFC7763] only defines two parameters: the charset parameter (required for all text/* media types) and the variant parameter. [RFC6657] provides guidance on character-set parameter handling. The variant parameter provides a simple identifier – nothing less or more. Variants are allowed to define additional parameters when sent with the text/markdown media type; the variant can also introduce control information into the textual content stream (such as via a metadata block). Neither [RFC7763] nor this specification recommend any particular approach. However, the philosophy behind [RFC7763] is to preserve formats rather than create new ones, since supporting existing toolchains is more realistic than creating novel ones that lack traction in the Markdown community.
Which for me means that text/vnd.tiddlywiki+markdown; variant=XXX;
would be an option … Where we can reuse the existing specification. … Our variant can be variant=tiddlywiki
, since we would support a limited set of markdown … extended with our own set of functions like links and transclusions.
If the above is an option then text/vnd.tiddlywiki; vocabulary=tiddlywiki-classic;
is an option too.
We could borrow the parameter syntax from Pandoc: RFC 7764: Guidance on Markdown: Design Philosophies, Stability Strategies, and Select Registrations
eg:
Additional Parameters:
extensions: String with an optional starting syntax token,
followed by a "+" and "-" delimited list of extension
tokens. "+" preceding an extension token turns the
extension on; "-" turns the extension off. The
starting syntax tokens are "markdown",
"markdown_strict", "markdown_phpextra", and
"markdown_github". If no starting syntax token is
given, "markdown" is assumed. The extension tokens
include:
Extensions to turn off (on by default):
escaped_line_breaks
blank_before_header
eg: text/vnd.tiddlywiki vocabulary=+tiddlywiki-classic -wikitext -xxx +katex
…
BUT as written above. MIME type parameters are not very flexible and since TW is still in flux this may be a limiting factor.