Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a8a955

Browse files
committed
added useful links
1 parent dc5210a commit 0a8a955

File tree

1 file changed

+33
-0
lines changed
  • tutorials/markdown_syntax_highlighting

1 file changed

+33
-0
lines changed

tutorials/markdown_syntax_highlighting/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,26 @@ draw the reader's attention:
9292
</pre>
9393
</div>
9494

95+
<br>
96+
<br>
97+
98+
Note that the syntax highlighting does not only work for Python, but other programming languages.
99+
100+
So in the case of C++, for example:
101+
102+
:::c++
103+
#include <iostream>
95104

105+
int main()
106+
{
107+
std::cout << "Hello, world!" << std::endl;
108+
return 0;
109+
}
110+
111+
112+
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.
113+
114+
96115
<br>
97116
<br>
98117

@@ -173,4 +192,18 @@ If we open our [**final.html**](https://github.com/rasbt/python_reference/blob/m
173192

174193
![](./images/mk_syntax_final_html.png)
175194

195+
<br>
196+
<br>
197+
198+
## Useful links:
199+
200+
201+
- [Python Markdown package documentation](http://pythonhosted.org//Markdown/)
202+
203+
- [The CodeHilite documentation](https://pythonhosted.org/Markdown/extensions/code_hilite.html)
204+
205+
- [pygments.org](http://pygments.org)
206+
207+
- [languages supported](http://pygments.org/languages/) by Pygments
208+
176209

0 commit comments

Comments
 (0)