From: Water Lin <WaterLin@ymail.com>
To: emacs-orgmode@gnu.org
Subject: The Perl color style
Date: Mon, 12 Oct 2009 16:27:52 +0800 [thread overview]
Message-ID: <83k4z1t3sn.fsf@ymail.com> (raw)
I try to tag perl-mode to color the Perl code while I am publishing my
org file to html. Here is the example:
-----------------------
#+BEGIN_SRC perl-mode
#!/usr/bin/perl
# some comments;
use warnings;
use strict;
print "hi";
#+END_SRC
-----------------------
But after I convert the content to html, the Perl code is badly
colored, just having some colors for content between "".
So, is there a good way to color Perl code in org? What's the tag for
Perl souce code?
Thanks
Water Lin
--
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin@ymail.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
next reply other threads:[~2009-10-12 8:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-12 8:27 Water Lin [this message]
2009-10-12 8:58 ` The Perl color style Mikael Fornius
2009-10-12 9:19 ` Water Lin
2009-10-12 13:33 ` Carsten Dominik
2009-10-13 8:51 ` Water Lin
2009-10-13 9:26 ` Mikael Fornius
2009-10-13 9:37 ` Water Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83k4z1t3sn.fsf@ymail.com \
--to=waterlin@ymail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).