View Single Post
Here's a first sketch of a script for saving from OmniOutliner3 to the format of the FoldingText plain text outliner.

From FoldingText, one can apply CSS stylesheets with Marked for further migration to well-formatted HTML, PDF etc.

FoldingText adopts a number of the Markdown conventions, so there is an option (adjustable in the properties at the start of the script) for flagging the top N levels of an OmniOutliner outline as Markdown headers (starting with a hash).

FoldingText also allows us to flag particular outline nodes as 'Code', 'Quotation' etc. In case you want to do this in OmniOutliner before exporting, I've included an additional script which creates a popup column in OO3, which you can use to flag the type of particular nodes in your outline.

(This should really be written as a a Save As plugin (XSL template), but for the moment this first Applescript sketch does at least make it possible to experiment with the basic approach. Bug reports and suggestions welcome).

--
Attached Files
File Type: zip SaveAsFoldingText-018.zip (57.3 KB, 440 views)

Last edited by RobTrew; 2012-10-31 at 03:56 PM.. Reason: Ver 0.18 Compatible with Keyboard Maestro, and aims to translate ***BoldItalic*** as well as **bold** & *Italic/Oblique* fonts in OO3 topic text & notes into MD emphases