Phillip Lord <[EMAIL PROTECTED]> writes: >>>>>> "Michael" == Michael Olson <[EMAIL PROTECTED]> writes: > > Michael> I've implemented support for permitting some tags to be > Michael> nested, in order to get nested <quote> tags to work on my > Michael> blog. Currently, <quote> is the only tag that is nestable. > Michael> Let me know if there are other tags that can sanely be > Michael> nested. > > <class>
Thanks, committed the change. > It would be good to know how you do this, though. I have a couple of > tags that I have implemented that I use a lot (mostly they just set up > span's or div's in HTML). I'd love to be able to nest <example> tags > inside this. I should have written "self-nestable" in my announcement, because that better portrays the issue. Muse already has support for nested tags, as long as they don't set their entire contents read-only. So if you want a tag to be parsed, just make sure it does not get marked read-only by an outermost tag. Though come to think of it, I suppose that for tags which are self-nestable, I could have just had the muse-publish-markup-tag function call itself again, instead of calling muse-goto-tag-end. That would help in the case where a tag can be nested, but likes to set its contents read-only for some reason. For now, it seems best to just stick with the simpler approach, though, and just be careful with read-only properties when you make custom tags. BTW, I've added some documentation to muse-goto-tag-end, so it should be easier to understand now. -- Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/ Interests: Emacs 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.
pgpIALDY89zW2.pgp
Description: PGP signature
_______________________________________________ Muse-el-discuss mailing list [email protected] https://mail.gna.org/listinfo/muse-el-discuss
