On 6/20/07, <b class="gmail_sendername">John Browning</b> <<a href="mailto:listguy@poplar.com">listguy@poplar.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Please forgive what may be a stupid question...<br><br>I'm new to typo and trying to post with markdown from textmate via<br>the blogging bundle. The post goes through fine, but the markdown<br>filter is not automatically applied. If I root around in the admin
<br>interface and edit the post to apply the markdown filter manually,<br>all is fine. Is there any way -- possibly something obvious I've<br>missed -- to apply the markdown filter to xmlrpc posts automatically?<br>(I've set markdown with smartypants as the default from the admin
<br>interface, and that works fine from markdown posted from there;<br>similarly html from textmate seems to work OK...)<br><br>Alternatively, if there is no easy way, does anybody have pointers/<br>advice to the appropriate code to start work on a work-around/
<br>solution? (presumably somewhere in the meta_weblog_service.api?)<br><br>Thanks for any time and advice...<br><br>allbests,</blockquote><div><br><br></div></div>Not a stupid question at all!<br><br>I had to find this out the hard way.
<br><br>What you want is to add the line:<br><br>Format: Markdown<br><br>Into your headers. The easiest way to make this happen by default is to run TextMate and choose File -> New From Template -> Edit Templates from the menu, click on the arrow next to the Blogging -> Blog Post (Markdown) template, then double click on the
untitled.blog.markdown document you'll see there.<br><br>Now, just add the Format: Markdown line right after the Title: header.<br><br>That's it, you're in business. Any new Blogging Markdown posts you create will have the header like and will make typo DWIM.
<br><br>If this requirement is documented anywhere, I couldn't find it, and I'd love to be pointed at it if it exists :)<br><br>-Chris<br clear="all"><br>-- <br> Chris Patti --- Y!: feoh -- AIM: chrisfeohpatti --- E-Mail:
<a href="mailto:cpatti@gmail.com">cpatti@gmail.com</a> <br>"The greatest dangers to liberty lurk in insidious encroachment by men of<br> zeal,well-meaning but without understanding."-- Justice Louis O. Brandeis
<br> (Olmstead vs. United States)