From 774d091957f251524c09bdb48623dc64c6ea8365 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Sat, 30 Jul 2016 09:14:45 -0700 Subject: [PATCH] Add CommonMark variant --- source/specifications.rst | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/source/specifications.rst b/source/specifications.rst index 74efcc549..20fa665ce 100644 --- a/source/specifications.rst +++ b/source/specifications.rst @@ -94,10 +94,16 @@ UTF-8. Other parameters might be specific to the chosen subtype. For example, for the ``markdown`` subtype, there is a ``variant`` parameter that allows specifying -the variant of Markdown in use, such as ``Original`` for `Gruber's original -Markdown syntax `_ or -``GFM`` for `GitHub Flavored Markdown (GFM) -`_. +the variant of Markdown in use, such as: + +- ``CommonMark`` for `CommonMark` + `_ + +- ``GFM`` for `GitHub Flavored Markdown (GFM) + `_ + +- ``Original`` for `Gruber's original Markdown syntax + `_ Example:: @@ -109,12 +115,16 @@ Example:: Example:: - Description-Content-Type: text/markdown; charset=UTF-8; variant=Original + Description-Content-Type: text/markdown; charset=UTF-8; variant=CommonMark Example:: Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM +Example:: + + Description-Content-Type: text/markdown; charset=UTF-8; variant=Original + If a ``Description-Content-Type`` is not specified, then the assumed content type is ``text/x-rst; charset=UTF-8``.