I have two blog sites. One hosted with Wordpress.com, one self-hosted with Wordpress.org
We have about 20 authors on each blog, and from experience, I need to make inserting code snippets as easy and user friendly as possible.
I saw, for Wordpress.org, this article.
From what I understand, when writing with the HTML editor, if you apply the tags
<code> some code</code> then this preserves the formatting.
- Its ok. But the major downfall, is ease of use. For example, compare it to stack exchange text editor - there is no need to switch to HTML view and write tags, you use the 'Code Sample' button.
I know there are a heap of plugins out there.
Is there a general consensus on the best way to embed code in wordpress.org posts?
My requirements are for it to be as easy as it is with Stack Exchange.
It appears I can also use the code tags with wp.com.
I guess the advanatage of telling my users to use this approach, would mean there would not be any confusion with authors who contribute to both blogs.
I was currently using the 'preformatted' text format from the extended toolbar (kitchen sink).
I assume there are no other options?