mirror of
https://github.com/boostorg/quickbook.git
synced 2026-01-27 07:02:15 +00:00
Not great since it closes the comments around the escaped code. But to nest it properly will require a bigger change. Would also be nice to deal with escape in other contexts - such as strings. [SVN r71098]
11 lines
617 B
XML
11 lines
617 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
|
|
<article id="python_code_blocks" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<title>Python Code Blocks</title>
|
|
<programlisting><phrase role="comment"># No escape</phrase>
|
|
<phrase role="comment"># Escape: </phrase><emphasis role="bold">bold</emphasis>
|
|
<phrase role="comment"># Escape: </phrase><emphasis role="underline">underline</emphasis><emphasis>italic</emphasis>
|
|
</programlisting>
|
|
</article>
|