[Moin-user] Help needed with attachments
Jakub Kruszona-Zawadzki
jakub.kruszona at gemius.pl
Thu Aug 26 07:10:04 EDT 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20100826/65b270de/attachment.html>
More information about the Moin-user
mailing list