xtricks: color snail picture w/ xtricks (Default)
xtricks ([personal profile] xtricks) wrote in [community profile] getting_started2011-05-19 04:29 pm
Entry tags:

Markup to show HTML code?

The question was asked here: http://getting-started.dreamwidth.org/9572.html?nc=15#comments

And the final comment links to a page that is now dead on how to do it for LJ.

I'm looking for the HTML coding to put in (part of) a post that prevents DW from reading and applying the HTML codes so I can have a little box that people can copy to get a template that includes the raw HTML.

I've seen it around, so I know it's possible (often as a little scroll box). Like everyone else, I tried raw-code and got the lack of breaks. When I try code (which DW says is a valid HTML tag for the site) I get my text in tiny courier print.

Is there such a code in DW or can someone link me to a current tutorial on how to make what I'm looking for?
somnolentblue: statue of a woman from the waist up (Default)

[personal profile] somnolentblue 2011-05-19 11:39 pm (UTC)(link)
I do little scrollboxes sometimes that people can just cut and paste, but I use the workaround of using & l t ; [without spaces] for < and & g t ; [without spaces] >. So my <a href="http://whatever goes here">address</a> is actually & lt ;a href=" "& gt ; address & lt ; /a & gt ;. It's not what you're looking for, but it works. ETA: Aaaand clicking at the original post, I saw that it was mentioned there.
Edited 2011-05-19 23:45 (UTC)