The Omni Group Forums

The Omni Group Forums (
-   OmniOutliner 3 for Mac (
-   -   Script: Pasting from FoldingText Markdown to oo3 nesting and columns (

RobTrew 2012-11-27 03:56 PM

Script: Pasting from FoldingText Markdown to oo3 nesting and columns
A lot of my workflow is in FoldingText Markdown now (hash-headers and/or tab indents, with inline [I]@key(value)[/I] tags, child-line [I]key : value[/I] properties or just plain [I]@key[/I] tags for booleans.

(Either authored in FoldingText, or on my favourite machine an inexpensive AA powered ultra-simple portable with a good keyboard [url][/url]
Tip remove all software from the Neo except the plain text editor, quickly upload all the text files to OS X with the free NeoManager utility via USB).

I do, however, like to use OmniOutliner's excellent column display for some things, particularly to generate column-based PDF documents.

Here is a rough working draft of a [URL=""]script[/URL] which I am using to paste FT-style Markdown plain text into OO3, with the inline [B]@key(value)[/B] tag pairs, and the child element [B]key : value[/B] property pairs going to values in key-named columns (either pre-existing or created, if necessary, by the pasting script).

In addition to moving tag values to columns it also normalises the mixed nesting style of MD (hash headers and/or tab indents) into regular OO3 nesting.

(⌘⌥V for OmniOutliner 3 in my KeyBoard Maestro setup)


RobTrew 2012-11-28 04:03 AM

Updated (ver 0.04 above) to also translate MarkDown **bold** and *italic* emphases in row topics into OO3 [B]bold[/B] and [I]italic[/I] formats.

and ver (0.06 above) to translate MarkDown ordered list numbers into OO3 numbered heading styles.

ver 0.07 handles [B]key : value[/B] property pairs in child lines as well as in-line [B]@key(value)[/B] tag pairs - both are now transferred to column values for the appropriate row.


RobTrew 2012-11-28 09:48 AM

2 Attachment(s)
Before and after:

(The plain text 'property lines' automatically become column entries in OO3)

[LIST=1][*]Plain text in FoldingText, and
[*]pasted (with script) into OO3.

RobTrew 2012-12-01 12:10 PM

PS on the matter of originating outlines and column entries in plain text (Markdown) format, for subsequent work in OmniOutliner, I came across this report of a good plain text authoring setup:

[iPad with Neo as keyboard]([url][/url])

It turns out that the efficiency of the system can be improved still further by simply removing and discarding the iPad - this additional step has become even more important since a change in iPad system software rendered it inoperable for this purpose. Fortunately, the Neo itself continues to work very well, and, unlike the iPad, has a a decent keyboard, a standard built-in USB connector, and the ability to transfer text files directly and simply to the OS X machine.

RobTrew 2012-12-05 08:39 AM

[URL=""]Updated[/URL] to improve parsing of inline @key(value) tags (for their conversion to oo3 column entries)


macula 2014-05-11 11:34 AM

Very good stuff, thanks Rob.

Would you be able to offer us a free-form description of your workflow(s) involving FoldingText? For some time I've been trying to streamline my toolbox, move away from large software packages, and rely on plaintext as possible. Judging from your GitHub repos and your tweets, I suspect you're exploring FT-based workflows for todo list/GTD management, is that right?

Many thanks indeed.

All times are GMT -8. The time now is 12:29 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.