How can I use stackoverflow style markup in my blog posts?

I really used the StackOverflow features when writing technical posts. My favorite features are

4 spaces which you can use to indent a <pre> style code block 

And backticks you can use to format code inline , as well as automatic color syntax highlighting.

I believe that code extraction is done using google 'preptify' code, but I'm not sure about the other formatting. It's just that simple!

How can I use this formatting on my blog?

+7
source share
1 answer

I believe StackOverflow uses pagedown . The documentation seems to summarize it pretty well with examples, including a demo .

+8
source

All Articles