summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2012-09-02 03:39:51 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-09-02 03:40:28 +0100
commit45f7c585b362274d4aca1438378f808bc56b83c2 (patch)
tree8522ae741506197c5c56fb33293572852a4246ff /docs
parent7c2e7b1a4f819f57bd57623c768e0f3e7fca07bd (diff)
docs: add design doc for text/x-raw format
Diffstat (limited to 'docs')
-rw-r--r--docs/design/part-mediatype-text-raw.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/design/part-mediatype-text-raw.txt b/docs/design/part-mediatype-text-raw.txt
new file mode 100644
index 000000000..82fbdd52e
--- /dev/null
+++ b/docs/design/part-mediatype-text-raw.txt
@@ -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
+