added useful links

This commit is contained in:
rasbt 2014-06-03 18:49:29 -04:00
parent dc5210aea9
commit 0a8a955016

View File

@ -92,6 +92,25 @@ draw the reader's attention:
</pre> </pre>
</div> </div>
<br>
<br>
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 <iostream>
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.
<br> <br>
<br> <br>
@ -173,4 +192,18 @@ If we open our [**final.html**](https://github.com/rasbt/python_reference/blob/m
![](./images/mk_syntax_final_html.png) ![](./images/mk_syntax_final_html.png)
<br>
<br>
## 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