emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] XML src block syntax highlighting


From: Suvayu Ali
Subject: Re: [O] XML src block syntax highlighting
Date: Thu, 25 Apr 2013 16:24:49 +0200
User-agent: Mutt/1.5.21 (2012-12-30)

On Thu, Apr 25, 2013 at 11:57:49AM +0200, Tom wrote:
> 
> #+BEGIN_SRC xml :exports code
> <?xml version="1.0" encoding="utf-8"?>
> <validxml>
>   ...
> </validxml>
> #+END_SRC
> 
> I have org-src-fontify-natively = and it works for other code, but xml
> is fontified as a fundamental buffer, not like nxml-mode shows the
> block contents. nxml-mode /is/ used when I use C-c ' to edit the
> contents.

Can you try the following:

  #+BEGIN_SRC nxml :exports code
    ..
  #+END_SRC

As far as I know, the language is supposed to be the leading part of
<some>-mode.  My information is a bit outdated, so I could be wrong.

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]