Abstract: 解决markdown
代码上传到github
上不高亮的问题。
Syntax
1 2 3
| {% codeblock [lang:language] [title] [url] [link text] %} code snippet {% endcodeblock %}
|
Example
Javascript Array SyntaxMDN Documentation1 2
| var arr1 = new Array(arrayLength); var arr2 = new Array(element0, element1, ..., elementN);
|
1 2 3 4 5 6 7 8 9
| a='foo';
print(a);
dict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'} print "dict['Name']: ", dict['Name'] print "dict['Age']: ", dict['Age']
|
1
| SELECT column_name FROM information_schema.columns WHERE table_name='content';
|
1 2 3 4 5 6 7 8
| <?php $cars = array("Volvo", "BMW", "Toyota"); echo $cars[0]; echo $cars[1]; echo $cars[2]; ?>
|
1 2 3
| dict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'} print "dict['Name']: ", dict['Name'] print "dict['Age']: ", dict['Age']
|