xtricks (
xtricks) wrote in
getting_started2011-05-19 04:29 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
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?
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?
no subject
no subject
no subject
no subject
no subject
http://www.raffoul.ca/users/masterslacker/ljhtmlparser.php
(couldn't have lived without it over the years, since hand-coding raw html is so not my thing)
no subject
no subject
no subject
1. Replace the string "&" with the string "&".
1. Replace the string "<" with the string "<".
1. Replace the string ">" with the string ">".
After doing that you'll have HTML that looks "something like <em>this</em>". You should then copy and paste that into your entry, and it'll show up as you want it to. In this case, that code would show up as "something like <em>this</em>".