Romel Pérez Romel Pérez - 4 months ago 21
Markdown Question

How to convert sassdoc to markdown files?

Is there a way to build sassdoc.com as markdown files instead of HTML files?

I was looking for sassdoc themes but I didn't find one for markdown.

Or is there any other tool to document my SASS code into markdown files?

I want to document a package so I don't need a complete site I just need a simple document where I can see some basic configuration. And it would be better to be in markdown because it is prettified in GitHub and BitBucket.

Thanks in advanced!

Answer

Try using pandoc do convert from HTML to GH Markdown. For example:

pandoc -s index.html -o doc.md --to=markdown_github

and doc.md will be your GH Markdown output.