[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] New Muse tags: "include" and "markup"
From: |
Michael Olson |
Subject: |
[emacs-wiki-discuss] New Muse tags: "include" and "markup" |
Date: |
Mon, 29 May 2006 18:39:41 -0400 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
I've now implemented <include> and <markup> tags in Muse. The
documentation for both is included below.
<include>: Include the named file at the current location during
publishing.
<include file=\"...\">
Files are marked up according to the Muse publishing rules. If
you want no markup to be performed, either add
<example>..</example> inside the source file or use the
following invocation.
<include file=\"...\" markup=\"nil\">
The `markup' attribute controls how this section is marked up. If
non-nil, it should be the name of a function to call after
inserting the file with the buffer narrowed to the section
inserted. Note that no further marking-up will be performed on
this region.
<markup>: Run an Emacs Lisp function on the region delimted by this
tag.
<markup function=\"...\">
The optional `function' attribute controls how this section is
marked up. If used, it should be the name of a function to call
with the buffer narrowed to the delimited region. Note that no
further marking-up will be performed on this region.
If `function' is ommitted, use the standard Muse markup function.
This is useful for marking up content in headers and footers.
--
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
/` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
|_] | \| |_| Project involvement: Emacs, Muse, Planner, ERC, EMMS
pgpM96Ot4XSEj.pgp
Description: PGP signature