comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDLdoc: Embedded HTML code
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDLdoc: Embedded HTML code [message #81591] Tue, 02 October 2012 09:51 Go to previous message
Yngvar Larsen is currently offline  Yngvar Larsen
Messages: 134
Registered: January 2010
Senior Member
A useful feature of IDLdoc when MARKUP_STYLE='verbatim', is that you may embed small snippets of HTML code directly in the text and it will show up correctly in the generated HTML output. For instance a small table. (Maybe this is considered cheating, and not really intended functionality ?) However, when using MARKUP_STYLE='rst', this trick does not work anymore. There are embedding options for graphics and links, but I cannot find anything about embedding HTML code.

Of course, I could stick with 'verbatim' for the files where I use this trick, but then I don't get the other nice features of the 'rst' style.

Any solutions? Have I misunderstood something here? If not, I would like to make the following feature request:

Add something like this to the rst markup style:

; docformat = 'rst'
;
;+
; Normal comment text.
;
; .. html::
;
; <table>
; <tr><th>Type</th><th>Format</th> </tr>
; <tr><td>type 1</td><td>format 1</td> </tr>
; <tr><td>type 2</td><td>format 2</td> </tr>
; </table>
;
; More normal comment text.
;-


--
Yngvar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: idlhelp copy and paste problem
Next Topic: CVS in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:03:49 PDT 2025

Total time taken to generate the page: 0.00446 seconds