How to use Markdown and Pages on OSX without losing document structures?
January 22, 2012 10:06 AM Subscribe
Markdown and (Apple) Pages. I'm trying to work out a sensible workflow that will allow me to export Markdown text into an existing Pages document, without this process eliminating the structure of the text.
posted by davemee to technology (3 answers total)
Here's an example of the wall I've run into.
1. Markdown document created in - for example - Byword or WriteRoom.
2. Document is previewed in Byword or another application - such as Marked or MarkdownNote. This lets me drop rich text or HTML into the clipboard.
3. Clipboard is pasted into a Pages document, which has an existing template and set of style definitions for different headers, lists, footers, etc.
4. Cringe when the styles are jettisoned by Pages because it's decided that Rich Text is what's needed, and those styles are baked into the Rich Text format.
Effectively, I want to be able to paste structured text into Pages, and have those elements take their appearance from the document's styles, rather than what it's currently doing, which is to paste text with appearances taken from the Markdown interpreter, but none of the structure preserved (headers, paragraphs, lists are all just classed as 'free form' in the Styles drawer, rather than matching what they were in Markdown.)