diff --git a/tutorials/markdown_syntax_highlighting/README.md b/tutorials/markdown_syntax_highlighting/README.md index 75d9e29..69024e9 100644 --- a/tutorials/markdown_syntax_highlighting/README.md +++ b/tutorials/markdown_syntax_highlighting/README.md @@ -92,7 +92,26 @@ draw the reader's attention: +
+
+ +Note that the syntax highlighting does not only work for Python, but other programming languages. + +So in the case of C++, for example: + + :::c++ + #include + int main() + { + std::cout << "Hello, world!" << std::endl; + return 0; + } + + +Since the CodeHilite extension in Python-Markdown uses Pygments, every programming language that is []listed here](http://pygments.org/languages/) currently has support for syntax highlighting. + +

@@ -173,4 +192,18 @@ If we open our [**final.html**](https://github.com/rasbt/python_reference/blob/m ![](./images/mk_syntax_final_html.png) +
+
+ +## Useful links: + + +- [Python Markdown package documentation](http://pythonhosted.org//Markdown/) + +- [The CodeHilite documentation](https://pythonhosted.org/Markdown/extensions/code_hilite.html) + +- [pygments.org](http://pygments.org) + +- [languages supported](http://pygments.org/languages/) by Pygments +