Quantcast
Channel: My site - RSS feed
Viewing all articles
Browse latest Browse all 71

Please allow triple-backtick for code blocks

$
0
0
It would be nice if triple-backticks could be use to enclose code blocks, as an alternative to indenting by four spaces. Ideally, these triple-backticks could be followed by some language to indicate the desired syntax highlighting. For example one could input: ```python def square(x): r""" Return the square of the input. """ return x*x ``` and see it rendered as def square(x): r""" Return the square of the input. """ return x*x

Viewing all articles
Browse latest Browse all 71

Trending Articles