Hi.

I'm using MoinMoin version 1.9.3.

I have some problems with text attachments. I want to include content of my 
attachment into page. My attachments are simple text files (most of them 
written in javascript)

I'd like to have my files attached with color syntax, and without line numbers.

When file is a part of a page it could be done easy as:

{{{#!highlight js numbers=disable
.....
}}}

But when I try to attach file with .js extension - like: {{attachment:file.js}} 
it turns on the page into funny small box with scrollbars (not usual gray box) 
- Moin doesn't detect it as a text file and places it as an 'object'. When I've 
added .txt ( like this: {{attachment:file.js.txt}} ) - it works, but there is 
no color syntax of course, and I have no idea how to disable line numbers (how 
to add display parameters such as 'numbers=disable' to attachments).

Is there any way to do that?
Are there options to turn off this line numbering thing globally?

-- 
Regards,
Jakub Kruszona-Zawadzki
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to