How can I use stackoverflow style markup on my blog posts?
Asked Answered
B

1

7

I've gotten really used to the features StackOverflow provides while writing technical posts. My favorite features are the

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

And the backticks you can use to format code inline, and also the automatic color syntax highlighting.

I believe the code highlighting is done via google's 'code prettify' but I'm not sure about the other formatting. It's just so easy!

How can I use this formatting on my blog?

Brunell answered 11/1, 2012 at 18:0 Comment(0)
H
8

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

Haunting answered 11/1, 2012 at 18:4 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.