Stefan van der Walt <[EMAIL PROTECTED]> 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

Attachment: pgp1hglzn5by7.pgp
Description: PGP signature

_______________________________________________
emacs-wiki-discuss mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

Reply via email to