I just tried to make my first Blog entry in on our Sharepoint server. The
first thing I wanted to Blog about involved a snippet of source code. I am
shocked that there is no obvious way to insert a code block into our blogs.
I thought that I would just enter a <CODE>...</CODE> or a
<style="WHITE-SPACE:pre"> in the HTML editor, but once this gets back into
the RTF editor, the layout of the text has been destroyed. This is very
frustrating.
I asked around here and no one had a good answer. People have gone to great
and painful lengths to create neat code using tables with spans for
indenting, etc. This should not be this hard. How is this supposed to work?
The only easy way seems to be to screen capture a bitmap which is going to
really irritate the first person who tries to cut and paste the snippet.