Page 1 of 1

phpDocumentor Tutorial Config (bold inside <programlistin

Posted: Mon Oct 16, 2006 8:46 am
by Ollie Saunders
This is a long shot but does anybody know how I can embolden certain parts of php code (inside programlisting tags) in a phpDoc tutorial. I've done this test:

Code: Select all

    <programlisting role="php">
echo $here . $is . $some . PHP_EOL;
<b>$does->this->appear->bold ? 'yes' : 'no';</b>
<emphasis>$does->this->appear->bold ? 'yes' : 'no';</emphasis>
<u>$does->this->appear->bold ? 'yes' : 'no';</u>
<i>$does->this->appear->bold ? 'yes' : 'no';</i>
<important>$does->this->appear->bold ? 'yes' : 'no';</important>
     </programlisting>
     <para>
         This is <important>bold</important>.
     </para>
And I get this back:
Output wrote:1. echo $here . $is . $some . PHP_EOL;
2. $does->this->appear->bold ? 'yes' : 'no';
3. <em>$does->this->appear->bold ? 'yes' : 'no';</em>
4. $does->this->appear->bold ? 'yes' : 'no';
5. $does->this->appear->bold ? 'yes' : 'no';
6. <strong>$does->this->appear->bold ? 'yes' : 'no';</strong>

This is bold.
I guess I need to modify the docBook to HTML convertor but I've no idea where to look.