docs: add design doc for text/x-raw format
authorTim-Philipp Müller <tim@centricular.net>
Sun, 2 Sep 2012 02:39:51 +0000 (03:39 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 2 Sep 2012 02:40:28 +0000 (03:40 +0100)
docs/design/part-mediatype-text-raw.txt [new file with mode: 0644]

diff --git a/docs/design/part-mediatype-text-raw.txt b/docs/design/part-mediatype-text-raw.txt
new file mode 100644 (file)
index 0000000..82fbdd5
--- /dev/null
@@ -0,0 +1,28 @@
+Media Types
+-----------
+
+ text/x-raw
+
+  format, G_TYPE_STRING, mandatory
+    The format of the text, see the Formats section for a list of valid format
+    strings.
+
+Metadata
+--------
+
+  There are no common metas for this raw format yet.
+
+Formats
+-------
+
+ "utf8" plain timed utf8 text (formerly text/plain)
+
+        Parsed timed text in utf8 format.
+
+ "pango-markup" plain timed utf8 text with pango markup (formerly text/x-pango-markup)
+
+        Same as "utf8", but text embedded in an XML-style markup language for
+        size, colour, emphasis, etc.
+
+        See http://developer.gnome.org/pango/stable/PangoMarkupFormat.html
+