One surprisingly difficult thing when writing articles on the web – posting source code samples. There are too many cases where the formatting, whitespace, and special characters are broken or missing when posted in a web article. I’m always looking for a better and easier way to post code samples here on WordPress.com. Here’s a little history from some of my past posts.
- Source Code on WordPress.com (shortcode “code”, Sept 2012)
- Write … With Markdown (backticks and tildes, Nov 2013)
- Markdown Broken in New Editor (new editor problems, Jan 2016)