Automatic creation of DIVs
Lou Quillio
public at quillio.com
Sun Feb 13 14:06:38 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Todd Walton wrote:
> Firstly, it wasn't necessarily <div> that John was proposing, it was
> sidebars. <div>s were just a way of achieving this, as I understood
> it.
Yes, I agree ... but that *generically* means (1) an arbitrary
block-level element (`<div>`) that may be (2) positioned with CSS
because (3) it bears an `id` (or `class`), and which (4) may contain
other block-level elements (because it's a `<div>`). And (5) do it all
within Markdown rather than explicit markup. You can insert your own
explicit `<div>` now, but Markdown won't transform its contents, so
that's the main reason to want all this -- whether the author thinks of
it as a 'sidebar', 'footer', 'textbox' ... what have you.
I'd like it too, but there's tension between this capacity and the
intended simplicity of Markdown. Fearless Leader tends to err on
simplicity's side. I'd be satisfied with a shorthand for classes and
ids on currently supported elements. `<div>`s would be useful, but it'd
be the first Markdown-generated element without XHTML-derived semantic
value. Tough sell.
Hey, I'd sign-up. But it'd be a new element needing its own unique
shorthand. Parens aren't discrete enough.
LQ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCD6U+Wb6NuB4EK7oRArPQAJ4+5q+ziTsurU0hf9wA+DEZpqQcIgCgiJHh
NdrK//HsG1pNJtnbj7a2jw4=
=1+oQ
-----END PGP SIGNATURE-----
More information about the Markdown-Discuss
mailing list