Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
    
I checked tidy and there is no 'break after/before block elements' options~ – Drake Feb 16 '12 at 13:12

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

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.