On Mar 15, 2012, at 3:53 PM, John Cooper wrote:

> As I was going through "Take Control of BBEdit," I ran across the "Try 
> Markdown" section and decided to do just that. I find that while "Preview in 
> BBEdit" works fine, choosing to preview in any browser displays only the raw, 
> unformatted text in the browser. What's wrong?

Hey John,

I'm pretty sure there is nothing wrong. BBEdit's "Preview in BBEdit" command 
understands Markdown, and renders it correctly. On the other hand, when you 
"Preview in …" to send the document to another browser, the raw document is 
sent to the browser. If you "View Source" in whichever browser you're using, 
you'll see it's just the Markdown document. Browsers don't understand Markdown, 
so they render the document as text. If you want to see what the Markdown 
document looks like when rendered as HTML, you'll need to translate it first 
(running the Markdown document through markdown.pl, for example) and view the 
resulting html file in your browser.

Hope this helps,

Chip Warden

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to