Escape shortcode of WordPress

WordPress provides a plenty of useful shortcode for publishing your post easily and speedy, such as or . For example, the tag can embed a Youtube film into your post: But how to demonstrate the way we embedded the above file into this post? The most easy way might be applying & #91; and & #93; instead…

Example of Posting Source Code

Just tag which language you want to demonstrate as follows: [sourcecode language=”python”] import matplotlib.pyplot as plt x = [1,32,65,13,24,22,45] y = [5,7,9,24,21,56,43] plt.scatter(x,y) plt.show() [/sourcecode] For more detial: Posting Source Code — Support — WordPress.com