[Moin-user] Static text include??
Bill Vodall - WA7NWP
wa7nwp at jnos.org
Wed Mar 3 11:02:09 EST 2004
It's hard keeping up with all the MoinMoin features so this might
already be there...
Is there any way, built in function or existing macro, to include
a static text file and have it appear as a {{{ }}} block?
For example I could put the following on a page:
{{{
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 localhost
}}}
Or simply have a macro/command to do it:
[[StaticInclude("/etc/hosts")]]
Thanks much.
Bill
More information about the Moin-user
mailing list