Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 26-12-2008
Member
 
Join Date: Dec 2008
Posts: 31
How do I get the HTML code to display as HTML code?

Hi everybody,

I would like to post some HTML code and have the visitors &paste; copy them to their own websites.

When I enter HTML codes RapidWeaver executes them when publishing instead of displaying the code. Is there anything I can write before and after the code in RapidWeaver so that the code displays instead of being run?

Like in this forum you have to write [code] to get the code displaying like this (hence code):

Code:
< div class= "js-kit-comments" permalink = "" ></ div >
Thanks for helping me.
Regards
Reply With Quote
  #2  
Old 26-12-2008
Member
 
Join Date: Oct 2008
Posts: 33
Re: How do I get the HTML code to display as HTML code?

High-light sounds like what you need.

High-Light is a RapidWeaver plug aimed at the user who wants to include sourcecode on his webpages. This plugin extends the available options for formatting Styled Text areas in RapidWeaver. It generates properly syntax colored, or CSS tagged, XHTML output for text pasted into a Styled Text area that is marked with High-Light. It also preserves the stewardship of the text is marked so that the output is generated as close to the original text as possible. Additional options available is that linenumbers can be automatically generated.

What's new?
Support for RapidWeaver 4.0. Implemeted workaround for non-validating XHTML-source-code from highlight.
Reply With Quote
  #3  
Old 26-12-2008
Member
 
Join Date: Oct 2008
Posts: 167
Re: How do I get the HTML code to display as HTML code?

High-Light is excellent and easy to use. It also supports more languages syntax.

I also like Google syntaxhighlight.
It's more work to set up on your page however.

Here is screenshot of both displayed in RW.
The top is High-Light using HTML language.
The bottom is syntaxhighlight using CSharp language.

Very Best,

Reply With Quote
  #4  
Old 26-12-2008
Member
 
Join Date: Dec 2008
Posts: 31
Re: How do I get the HTML code to display as HTML code?

Hi Adalbert and Adley

Thank you very much to both of you for your fantastic help! That was exactly what I was looking for.

I decided to use High-Light (without all the different colors for the tags) and it works great.

Thanks again and kind regards,
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How do I get the HTML code to display as HTML code?"
Thread Thread Starter Forum Replies Last Post
open link in new tab html code bigboy Software Development 4 16-12-2009 03:24 PM
PHP and HTML code that is not working Macadrian Software Development 4 02-12-2009 04:14 PM
How to convert Javascript code to Html code Bosch Software Development 3 21-09-2009 01:20 PM
How To Know HTML Code of a Color ? ALEXANDRO Customize Desktop 4 06-03-2009 06:59 PM
HTML or PHP code for Playlist JiJi Software Development 3 22-11-2008 03:15 PM


All times are GMT +5.5. The time now is 05:44 AM.