[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: New Muse tags: "include" and "markup"
From: |
Michael Olson |
Subject: |
[emacs-wiki-discuss] Re: New Muse tags: "include" and "markup" |
Date: |
Tue, 30 May 2006 09:57:04 -0400 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Stefan van der Walt <address@hidden> writes:
> Thanks for adding this functionality, Michael!
>
> One more question: how do I insert a file inside an <example> tag,
> i.e.
>
> <example>
> content of file goes here
> </example>
>
> I can't think what the markup function would be to pass to include.
Here's a custom function that should work.
(defun my-muse-publish-examplify-buffer ()
(muse-publish-example-tag (point-min) (point-max)))
and then:
<include file="myfile" markup="my-muse-publish-examplify-buffer">
--
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
pgpBGaHlHWnDQ.pgp
Description: PGP signature