Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In the spec of markdown:

For any markup that is not covered by Markdown’s syntax, you simply use HTML itself. There’s no need to preface it or delimit it to indicate that you’re switching from Markdown to HTML; you just use the tags.

The only restrictions are that block-level HTML elements — e.g. <div>, <table>, <pre>, <p>, etc. — must be separated from surrounding content by blank lines, and the start and end tags of the block should not be indented with tabs or spaces.

src: http://daringfireball.net/projects/markdown/syntax

I am wondering if there is any program/tool/API I can use to handle this issues? I like to solve this cause I would like to convert my blog from Drupal to Octopress.

share|improve this question
    
What have you tried so far? –  Daniel Beck Feb 15 '12 at 16:24
    
I checked tidy and there is no 'break after/before block elements' options~ –  Drake Feb 16 '12 at 13:12
add comment

1 Answer 1

Pandoc can read (a subset of) HTML and can write Markdown.

share|improve this answer
    
Giving Pandoc a trial~ –  Drake Feb 16 '12 at 16:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.