|
You are here |
fasterthanli.me | ||
| | | | |
vxlabs.com
|
|
| | | | | 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
|
|
| | | | | Did you know your blog's syntax highlighter probably has support for highlighting code diffs? I didn't. | |
| | | | |
manuel-strehl.de
|
|
| | | | | 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
|
|
| | | |||