1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>The Pango Markup Language</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="pango-class-reference.html" title="The pango Class Reference"><link rel="prev" href="class-pangotabarray.html" title="pango.TabArray"><link rel="next" href="pango-functions.html" title="pango Functions"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">The Pango Markup Language</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-pangotabarray.html">Prev</a> </td><th width="60%" align="center">The pango Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="pango-functions.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="pango-markup-language"></a><div class="titlepage"></div><div class="refnamediv"><h2>The Pango Markup Language</h2><p>The Pango Markup Language — a simple markup language for encoding attributes with text.</p></div><div class="refsect1" lang="en"><a name="id3353716"></a><h2>Description</h2><p>The pango markup language is a very simple SGML-like language that
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>The Pango Markup Language</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.1"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="pango-class-reference.html" title="The pango Class Reference"><link rel="prev" href="class-pangotabarray.html" title="pango.TabArray"><link rel="next" href="pango-functions.html" title="pango Functions"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">The Pango Markup Language</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-pangotabarray.html">Prev</a> </td><th width="60%" align="center">The pango Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="pango-functions.html">Next</a></td></tr></table><hr></div><div class="refentry" title="The Pango Markup Language"><a name="pango-markup-language"></a><div class="titlepage"></div><div class="refnamediv"><h2>The Pango Markup Language</h2><p>The Pango Markup Language — a simple markup language for encoding attributes with text.</p></div><div class="refsect1" title="Description"><a name="id3306599"></a><h2>Description</h2><p>The pango markup language is a very simple SGML-like language that
2
2
allows you specify attributes with the text they are applied to by using a
3
3
small set of markup tags. A simple example of a string using markup
4
4
is:</p><code class="literal"><span foreground="blue" size="100">Blue text</span> is <i>cool</i>!</code><p>Using the pango markup language to markup text and parsing the