Source code on my previous posts wasn’t looking very good, so I found a new blog feature to try:
- Posting Source Code
- Begin with shortcode [code option1="value1" option2="value2"]
- End with shortcode [/code]
Hopefully this will make some of the code examples and notes more readable. 🙂
- language = bash, python, powershell, or text
- gutter = false (hide line numbers)
NOTE FROM THE FUTURE (16 Jan 2016). Markdown enhances the code-posting feature with back-ticks for a span or triple-tilde for a block. “New Editor” does not fully support markdown but the classic WP-Admin still does. Bugs related to HTML entities are still a problem, including HTML/XML tags. Consider using the nice GitHub Gist embed also supported by WordPredd.com.