Here's an example of the macro being used to display the source code of a Find command I've been working on for the menubar, one that finds the next occurrence of a string in the active outline. You can copy the text from the outline below straight into menubar.opml.
It's very useful for code, but probably could be used for other applications.
1. Copy the outline text you want to share to the clipboard.
2. Create a new outline, choosing New from the File menu.
3. Paste the text into the outline. If there's an extra line, delete it.
4. Chose Get Public Link from the File menu.
5. Copy the URL to the clipboard.
6. Paste it into a call to reader in this post, as shown below.
It remembers how you have the outline expanded, so you can set it up so that it leads the reader to the parts you think they'll find most useful or interesting.
You can override the style choices I made by including CSS in your <%customStylesScripts%> glossary entry. I separated out the styles from the code so that your styles take precedence.
I saw Eric and Jeffrey using GitHub gists to display outline-based code in Fargo. It's a good idea, but gists are really for flat text and are not ideal for structured text. This should work better.