aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/design
diff options
context:
space:
mode:
Diffstat (limited to 'src/documentation/content/xdocs/design')
-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>