[TxMt] Saving generated HTML from Markdown

Michael Williams williams at astro.ox.ac.uk
Mon Apr 2 14:26:06 UTC 2007


On Mon, Apr 02, 2007 at 03:13:07AM +0100, Mark Eli Kalderon wrote:
> Well, if you use MultiMarkdown, you can use a metadata field to
> specify a CSS file. That would be a lot like inputting a standard
> preamble into a LaTeX file...
>
> Anyway, part of the point of things like MultiMarkdown and pandoc[1]
> is to use and extended Markdown syntax to generate a variety of
> output---in which case the Markdwon file is functioning as a source
> file.

Yes. The presence or otherwise of styling information such as CSS
or a LaTeX preamble in addition to the content is a red herring. Clearly
there are many differences between LaTeX and Markdown, but If you
anticipate changing the document in the future, but need a rendered page
now for whatever reason, there's no question that the source should be
retained. A "Save (e.g.) HTML to new file" script in the default
Markdown bundle would make this easier when working with Markdown in
TextMate.

-- Mike



More information about the textmate mailing list