<pre> in exported HTML?
Mitchell L Model
MLMLists at Comcast.net
Sun Mar 13 22:35:17 PST 2005
How can I get a <pre>...</pre> included when exporting to HTML,
DHTML, or Word (HTML)? I need to include chunks of computer code in
my document. I can format these in OO3 using <option>-<tab> and
<option>-<return>, but the white space disappears on export.
If, as I fear, there is no way to do this, the only thing I can think
of doing is ending every line with some strange character that I
otherwise wouldn't use, preceding every tab with a different strange
character, and put a third and fourth strange character at the
beginning of end of every <pre>. Then after the HTML is generated do
a global search-and-replace in a text editor or Unix command-line
tool to replace each of the characters with <pre>, </pre>, newline,
or tab, as appropriate. Pretty awful, but I can automate the
process, I guess.
More information about the OmniOutliner-Users
mailing list