How does one format code blocks in the MT default editor (rich text mode)..
As an example, i am writing a post and need to be able to show some code without the editor attempting to render it.. The code in question is wrapped in tags..
How can I paste this into the body of the post without it attempting to render it?
Thanks for the help!
Reported on Movable Type 4.2
What kind of code?
Something like this:
As you can see, it won't allow me to post it.. but basically I'm referring to code that is wrapper in tags.
I want to be able to show people how to use it so I need to have it in the post and show up but not be rendered.
It won't attempt to render it if you enter the code into the rich text editor because it will automatically escape all of the tags.
Well, what it does is add a strikethrough through the text which I can't seem to remove. That's why i'm looking for a method to enclose it in a quote or code tag.
Are you copying and pasting directly from something like MS Word?
I figured it out. I was indeed copying and pasting but from the design-> template section of MT.. once i dumped it in notepad and then cut and paste it worked fine..
/slaps forehead
thanks for your help Mike T.