aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/design/extending.xml
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-12-23 10:46:10 +0000
committerKeiron Liddle <keiron@apache.org>2002-12-23 10:46:10 +0000
commitb955bdbad24210785b66c71bab22da2727e1639b (patch)
tree32c8073548217e5a424ce4e30c242a5bc3c28d58 /src/documentation/content/xdocs/design/extending.xml
parente7f85387b158acbfac19697f62d0b9c581699fe2 (diff)
downloadxmlgraphics-fop-b955bdbad24210785b66c71bab22da2727e1639b.tar.gz
xmlgraphics-fop-b955bdbad24210785b66c71bab22da2727e1639b.zip
better formatting for example
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195793 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs/design/extending.xml')
-rw-r--r--src/documentation/content/xdocs/design/extending.xml17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/documentation/content/xdocs/design/extending.xml b/src/documentation/content/xdocs/design/extending.xml
index 2796f2e3d..4f95297c2 100644
--- a/src/documentation/content/xdocs/design/extending.xml
+++ b/src/documentation/content/xdocs/design/extending.xml
@@ -85,15 +85,16 @@ information. When the document is rendered a handler converts the
document into PDF markup.
</p>
<p>
-eg.
-<code><![CDATA[<my:script-link script="app.execMenuItem('AcroSrch:Query');">
+For example:</p>
+<source><![CDATA[<my:script-link script="app.execMenuItem('AcroSrch:Query');">
Search
-</my:script-link>]]></code>
-
-to result in a text box referencing the following PDF action:
-<code><![CDATA[<< /S /JavaScript /JS (app.execMenuItem("AcroSrch:Query");) >>]]></code>
-
- </p>
+</my:script-link>]]></source>
+<p>
+to result in a text box referencing the following PDF action:</p>
+<source><![CDATA[<<
+/S /JavaScript
+/JS (app.execMenuItem("AcroSrch:Query");)
+>>]]></source>
</section>