Skip to content

Commit 774d091

Browse files
committed
Add CommonMark variant
1 parent d454938 commit 774d091

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

source/specifications.rst

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,16 @@ UTF-8.
9494

9595
Other parameters might be specific to the chosen subtype. For example, for the
9696
``markdown`` subtype, there is a ``variant`` parameter that allows specifying
97-
the variant of Markdown in use, such as ``Original`` for `Gruber's original
98-
Markdown syntax <https://tools.ietf.org/html/rfc7763#section-6.1.4>`_ or
99-
``GFM`` for `GitHub Flavored Markdown (GFM)
100-
<https://tools.ietf.org/html/rfc7764#section-3.2>`_.
97+
the variant of Markdown in use, such as:
98+
99+
- ``CommonMark`` for `CommonMark`
100+
<https://tools.ietf.org/html/rfc7764#section-3.5>`_
101+
102+
- ``GFM`` for `GitHub Flavored Markdown (GFM)
103+
<https://tools.ietf.org/html/rfc7764#section-3.2>`_
104+
105+
- ``Original`` for `Gruber's original Markdown syntax
106+
<https://tools.ietf.org/html/rfc7763#section-6.1.4>`_
101107

102108
Example::
103109

@@ -109,12 +115,16 @@ Example::
109115

110116
Example::
111117

112-
Description-Content-Type: text/markdown; charset=UTF-8; variant=Original
118+
Description-Content-Type: text/markdown; charset=UTF-8; variant=CommonMark
113119

114120
Example::
115121

116122
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
117123

124+
Example::
125+
126+
Description-Content-Type: text/markdown; charset=UTF-8; variant=Original
127+
118128
If a ``Description-Content-Type`` is not specified, then the assumed content type
119129
is ``text/x-rst; charset=UTF-8``.
120130

0 commit comments

Comments
 (0)