php-markdown-extra-extended - my humble attempt at extending php-markdown
David Chambers
david.chambers.05 at gmail.com
Thu Jul 14 12:47:21 EDT 2011
Albert Skye <mistlail at yahoo.co.uk> wrote:
This paragraph has an attribute list attached by reference.
> {ref}
> [ref]: #id .class name=value
This strikes me as an elegant solution to the problem, askye. Does anyone
know of an extension that uses this syntax?
David
On 14 July 2011 03:53, Michel Fortin <michel.fortin at michelf.com> wrote:
> Le 2011-07-14 à 6:01, Albert Skye a écrit :
>
> >> [1]: http://maruku.rubyforge.org/proposal.html#attribute_lists
> >
> > I don't understand why the leading colon should be present.
> >
> > In any case, it seems reasonable to:
> >
> > - enclose attributes in braces (to indicate text meant for
> authors/editors rather than readers)
> > - append attributes to elements (where they are likely to be somewhat
> less hideous)
> > - use whitespace before the attribute lists for block elements (up to one
> blank line)
> > - use conventional syntax
> >
> > This paragraph has an attribute list attached by reference.
> >
> > {ref}
> >
> > [ref]: #id .class name=value
> >
> > Am I missing something?
>
> That's actually what Jonh Gruber proposed a while back when he was still
> participating on this list. In his view, only {ref} was allowed, you
> couldn't specify attributes directly inline. It's not that easy to find the
> old emails, but I clearly remember it.
>
>
> --
> Michel Fortin
> michel.fortin at michelf.com
> http://michelf.com/
>
>
>
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20110714/228962ce/attachment.html>
More information about the Markdown-Discuss
mailing list