4 Dec 2006 14:29
Re: custom tag
Michael Olson <mwolson <at> gnu.org>
2006-12-04 13:29:57 GMT
2006-12-04 13:29:57 GMT
Christian Straßer <hermes.chris <at> gmx.de> writes:
> Hello everybody,
>
> seems something change since I used the last time one of my custom tags,
> as I cannot publish them anymore.
> Can anybody tell me how to change the syntax, so that it works:
>
> (add-to-list 'muse-publish-markup-tags '("me" nil nil
> muse-me-tag))
>
> (defun muse-me-tag (beg end)
> "<literal><br> expand html <br> 'newline coaction' "
> (insert "<img src=\"images/me_tag.jpg\"/></literal>")
> (muse-publish-mark-read-only beg (point))
> )
<literal> shouldn't be in there. <literal> and making the region
read-only do the same thing.
--
--
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
/` |\ | | | Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC
|_] | \| |_| Reclaim your digital rights by eliminating DRM.
See http://www.defectivebydesign.org/what_is_drm for details.
Christian Straßer <hermes.chris <at> gmx.de> writes:(Continue reading)

RSS Feed