From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ptmono Newsgroups: gmane.emacs.help Subject: Re: How to show beautiful code in Muse? Date: Wed, 16 Sep 2009 08:43:32 +0900 Message-ID: References: <83tyz97t2j.fsf@ymail.invalid> Reply-To: dalsoo NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253058318 28291 80.91.229.12 (15 Sep 2009 23:45:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Sep 2009 23:45:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Water Lin Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 16 01:45:11 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mnhhu-0004SA-UN for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Sep 2009 01:45:11 +0200 Original-Received: from localhost ([127.0.0.1]:57144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mnhhu-0004sM-5t for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Sep 2009 19:45:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnhhW-0004sF-Qs for help-gnu-emacs@gnu.org; Tue, 15 Sep 2009 19:44:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnhhV-0004s3-LG for help-gnu-emacs@gnu.org; Tue, 15 Sep 2009 19:44:45 -0400 Original-Received: from [199.232.76.173] (port=39072 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnhhV-0004s0-Fc for help-gnu-emacs@gnu.org; Tue, 15 Sep 2009 19:44:45 -0400 Original-Received: from a51507.naver.com ([114.111.32.201]:39456 helo=smtp2.nm2.naver.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MnhhU-0004fC-Uf for help-gnu-emacs@gnu.org; Tue, 15 Sep 2009 19:44:45 -0400 Original-Received: from [121.174.171.66] ([121.174.171.66]) by smtp2.nm2.naver.com ([202.131.27.94]) with ESMTP id 2009091608:44:41:384203.8019.2462559136; Wed, 16 Sep 2009 08:44:41 +0900 (KST) In-Reply-To: <83tyz97t2j.fsf@ymail.invalid> (Water Lin's message of "Fri, 11 Sep 2009 17:02:12 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (gnu/linux) X-TERRACE-SPAMMARK: NO (SR:8.49) (by Terrace) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68168 Archived-At: Water Lin writes: > I am using Emacs Muse to generate my notes and homepage. When I paste > code into muse, after generating the muse, I will get a mess. > > I tried to use some tags, here we can get some: > --------------- > http://mwolson.org/static/doc/muse/Tag-Summary.html#Tag-Summary > > But even I used some tags, I still can't make the code look > beautiful. So I want to ask you what kind of method you are using to > generate text for code. Good suggestions? > > If the code can have the color which we get in code editor, it will be better. I think you are looking for 'Htmlize'. See - http://www.emacswiki.org/emacs/Htmlize - http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el : the source