php-markdown-extra-extended - my humble attempt at extending php-markdown
Michel Fortin
michel.fortin at michelf.com
Thu Jul 14 06:53:30 EDT 2011
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/
More information about the Markdown-Discuss
mailing list