[prev] [thread] [next] [lurker] [Date index for 2005/10/14]
* Peter da Silva <peter@xxxxxxx.xxx> [2005-10-14 00:20]: > > * Peter da Silva <peter@xxxxxxx.xxx> [2005-10-13 22:15]: > > > What if I'm indenting something that isn't a code block? > > > Who cares? HTML has no generic “indent a block” mechanism, so > > that the > > <div style="margin: 0.5i"> > I don't quite understand what point you're trying to make here. Not only are > there a number of mechanisms that could be used. > <blockquote> > Traditionally, of course, blockquote has been an option. > </blockquote> > but applying a style to a div is more versatile. > </div> The div solution is inappropriate. The markup is meaningless, and for the rendered of authoring syntax to litter a document with style attributes is hateful because you’ll have to work extra hard to make CSS work. Likewise it is hateful for it to invent CSS class names that may or may not clash with the existing stylesheet, and passing in class names for it to use requires configuration, which is another kind of hate. The Markdown solution is that if you want `<div style="margin: 0.5i">`, then you write `<div style="margin: 0.5i">`. It’s only trying to make the common tasks less tedious, not to invent punctuation or other syntax to replace all HTML constructs. For blockquotes, guess what? > Email-quoted text is <blockquote>d in the HTML output. > Works in arbitrary conjunction with all other Markdown block > constructs: > > * Lists. > * echo 'Literal code blocks' > foo > * etc. > > > You can nest it. You just write something that looks very much like email, and out comes a sensibly formatted HTML document. But you’d know that if you just took a look at the (brief) syntax documentation instead of dismissing it off hand. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>There's stuff above here
Generated at 20:00 on 17 Oct 2005 by mariachi 0.52