Voting starts in March for the Drupal Association Board election.
To display text characters including code, blank spaces, and line-breaks in a pre-formatted fashion on your Drupal 7 site without the use of a WYSIWYG editor,...
Drupal 7 - Displaying pre-formatted text & code on your site - HowTo
- You can create pages on your site, and choose the text-format "Plain text", but then you will not be able to use any HTML in your content body.
- You can Not simply place your pre-formatted text within thee element-tag set <pre></pre> nor <code></code>. [..or at least, "I can't yet.."]
- Pre-formatted text & code is displayed within posts at drupal.org via the WYSIWYG [What-You-See-Is-What-You-Get] editor button "code". It wraps your input within <code></code>. However, I can Not replicate this functionality on my Drupal 7 site. And at the drupal.org site, the use of the text "</code>" (without the double-quotation-marks) puts an end to my input.
I ought to be able to avoid the use of <code></code> in my preformatted text and code, but the question remains:
How can I most easily post text tutorials on my site with intersperced code snippets?
Note: A long and round-about solution is here..
..but I cannot believe all of that is necessary.
There has to ba a simpler solution.