Explore >> Select a destination


You are here

fasterthanli.me
| | vxlabs.com
5.0 parsecs away

Travel
| | The syntax-highlighted fenced code blocks in GitHub flavored markdown, or GFM, are a beautiful and useful invention. One starts a code block with three or more backticks or tildes, followed by the name of the language, and then proceeds to show one's code, which, at least on GitHub, is then syntax highlighted. In other words, something like this in your markdown: ```python def computer_says(no): print("computer says %s" % (no,)) ``` Would become this in the preview:
| | www.stevenhicks.me
4.2 parsecs away

Travel
| | Did you know your blog's syntax highlighter probably has support for highlighting code diffs? I didn't.
| | manuel-strehl.de
4.0 parsecs away

Travel
| | The article describes a way to mark up syntax highlighted source code with a simple pre element while retaining the advantages of other solutions.
| | trestletech.com
18.1 parsecs away

Travel
|