Revised - Revised 2005 proposal for meta-data
Andrea Censi
andrea at censi.org
Fri Jan 5 18:05:30 EST 2007
On 1/4/07, Michel Fortin <michel.fortin at michelf.com> wrote:
> Le 2007-01-01 à 19:02, Andrea Censi a écrit :
> > Default ALD for classes of elements. For example, an header of
> > level 2 inherits automatically the attributes of {header2}, if it
> > is defined.
>
> I don't see the point for such a feature. Applying the same
> attributes to all elements of the same name is a bad markup style,
> especially if it's a class attribute like in your example. If the
> reason you do this is to facilitate styling, why not just create a
> rule "h1" or "p" in your stylesheet that applies to all elements with
> that name?
Ok, let's take it out. That is, in fact, a better solution to the
problem I was trying to solve.
> Also, your new proposal for a span element:
>
> [special words]{#myspan}
>
> seems to me even more ambiguous than the previous one using braces
> instead of square brakets since John Gruber wants to introduce the
> [single braket] syntax as a shortcut for reference-style links in a
> future version of Markdown.
I did not know this (I'm still working on my clairvoyance).
Any other idea about a syntax for SPANs?
Or do you think it does not matter at all?
Consider the spec. example:
(http://www.w3.org/TR/html4/struct/text.html)
As <CITE>Harry S. Truman</CITE> said,
<Q lang="en-us">The buck stops here.</Q>
More information can be found in
<CITE>[ISO-0000]</CITE>.
Could be expressed this way:
As /Harry S. Truman/{c} said,
/The buck stops here/{q}.
More information can be found in
/[ISO-0000]/{c}.
....
{c}: html-el=CITE
{q}: html-el=Q lang=en-us
This seems useful to do.
(whatever the SPAN syntax is)
--
Andrea Censi
"Life is too important to be taken seriously" (Oscar Wilde)
Web: http://www.dis.uniroma1.it/~censi
More information about the Markdown-Discuss
mailing list