File tree 2 files changed +18
-0
lines changed
android/guava/src/com/google/common/net
guava/src/com/google/common/net
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,15 @@ private static MediaType addKnownType(MediaType mediaType) {
154
154
public static final MediaType CSV_UTF_8 = createConstantUtf8 (TEXT_TYPE , "csv" );
155
155
public static final MediaType HTML_UTF_8 = createConstantUtf8 (TEXT_TYPE , "html" );
156
156
public static final MediaType I_CALENDAR_UTF_8 = createConstantUtf8 (TEXT_TYPE , "calendar" );
157
+
158
+ /**
159
+ * As described in <a href="https://www.rfc-editor.org/rfc/rfc7763.html">RFC 7763</a>, this
160
+ * constant ({@code text/markdown}) is used for Markdown documents.
161
+ *
162
+ * @since NEXT
163
+ */
164
+ public static final MediaType MD_UTF_8 = createConstantUtf8 (TEXT_TYPE , "markdown" );
165
+
157
166
public static final MediaType PLAIN_TEXT_UTF_8 = createConstantUtf8 (TEXT_TYPE , "plain" );
158
167
159
168
/**
Original file line number Diff line number Diff line change @@ -154,6 +154,15 @@ private static MediaType addKnownType(MediaType mediaType) {
154
154
public static final MediaType CSV_UTF_8 = createConstantUtf8 (TEXT_TYPE , "csv" );
155
155
public static final MediaType HTML_UTF_8 = createConstantUtf8 (TEXT_TYPE , "html" );
156
156
public static final MediaType I_CALENDAR_UTF_8 = createConstantUtf8 (TEXT_TYPE , "calendar" );
157
+
158
+ /**
159
+ * As described in <a href="https://www.rfc-editor.org/rfc/rfc7763.html">RFC 7763</a>, this
160
+ * constant ({@code text/markdown}) is used for Markdown documents.
161
+ *
162
+ * @since NEXT
163
+ */
164
+ public static final MediaType MD_UTF_8 = createConstantUtf8 (TEXT_TYPE , "markdown" );
165
+
157
166
public static final MediaType PLAIN_TEXT_UTF_8 = createConstantUtf8 (TEXT_TYPE , "plain" );
158
167
159
168
/**
You can’t perform that action at this time.
0 commit comments