11 1857
Xah Lee wrote: Is there a tool that produce codes in html with syntax coloring?
I'm sure there's a million-and-one tools that will do what you want, and
suggest you search Google.
Personally, I've used vim to do this in the past. The following
generates marked-up code:
:runtime syntax/2html.vim
Regards,
Steve
--
Stephen Hildrey
E-mail: st***@uptime.or g.uk / Tel: +442071931337
Jabber: st***@jabber.ea rth.li / MSN: fo*@hotmail.co. uk
Xah Lee wrote:
..... Is there a tool that produce codes in html with syntax coloring?
Does that mean you intend simply posting links to your
'articles' on computing in future?
Thanks.
I am confident a lot of us would be (thankful if you did).
Xah Lee wrote: Is there a tool that produce codes in html with syntax coloring?
Sure. It's called "Cascading Style Sheets" (CSS), which is how these
sites have done it (as you can see if you "view source"). See articles
on SitePoint.com (and MANY others) for info. But this really has
nothing to do with Perl. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ruthless |
last post by:
hello.
I've got a simple question.
I've searched on google for PHP scripts coloring syntax e.g. asm, c, c++,
bash etc.
I've only found some CGI, apps, modules for Apache - but i can't use them
on my server
(due to my restricted permissions - i can use only PHP and MySQL).
|
by: Edward K. Ream |
last post by:
I would like to say a few (actually more than a few) words here about some
recent discoveries I have made concerning the interaction of Leo and Python.
If you don't want to hear an inventor enthuse about his work, please feel
free not to read further :-)
There are at least three, no four, no five, no six, no seven reasons why Leo
and Python work so well together. Most are new (in my mind) with the 4.1
release of Leo. The first several...
|
by: Larry Werner |
last post by:
We have source files with extension ".pc", which we would
like to be treated by the text editor as if they
are ".cpp" files for the purpose of syntax coloring. In
Visual C++ 6.0 we could do that with the Source File
Properties dialog, available via a right-mouse click on
the text editor when it was editing a file, which has a
Language dropdown edit box. But in Visual C++ 7.0
(Microsoft Development Environment 2002 Version 7.0.9466
and...
|
by: Gordan |
last post by:
I'm just wondering - is there a JS developing tool?
I'm using Notepad, IE and a lot of F5 key :-))
using some better text editor that highlights code is definitely better but
I never found debugging or similar functions in any tool
what do You use to code JS?
Gordan
|
by: Markk |
last post by:
Hi.
I would like to ask If somebody don't have any small sample to coloring XML
syntax, e.g. in RichTextBox.
It can be in VB.NET or C#.
I watched on SharpDevelop, but I could not understand that code, which is
coloring text.
Thanks.
| |
by: PASQUALE |
last post by:
Hi,
I am new to DB2 on AS/400. Actually I use the 'Run SQL Scripts' - tool in
iSeries Navigator to access the database by SQL.
The question is: Is there an alternative (or maybe better) tool for SQL on
DB2? When I worked with MsSQL there was a tool called 'Query Analyzer'
wchich was very comfortable (fixed-width font, syntax coloring, much more
options to personalise, etc.)
And the second question is:
In MsSQL there were some very...
|
by: Dan |
last post by:
I'd like to show some XML text into an (editable) text box with some syntax
coloring for tags, attributes etc. I don't need a full-blown commercial
control, I'd just like to do some coloring on tags and the like. Is there
any (possibly free!) C-Sharp control (based onto the RTF control, I imagine)
or code sample for building a such control, or should I create my own from
scratch?
Thanks guys!
|
by: braver |
last post by:
Greetings -- as a long time user of both Python and Ruby interpreters,
I got used to the latter's syntax-coloring gem, wirble, which
colorizes Ruby syntax on the fly. Is there anything similar for
Python?
|
by: sandromani |
last post by:
Hi all,
I am writing a webbased notepad and want to include syntax-coloring. The approach I have used is to set the font color and background color of the textarea to transparent, and place the colored text in a pre behind the text area, so far so good. The code I use for coloring is the following one:
function colorize(){
var inTag=false, inAttr=false;
text=textarea.text();...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |