No Markdown in <div>s or <table>s ?
sgbotsford at gmail.com
Thu Apr 23 17:01:32 EDT 2009
Here's an example of why I set the flag off
For my blog
### 5 April
## Greenhouse hot
Last night I plugged in the electric heater for the greenhouse, and
started doing the cleanup. Today everything that has true leaves on it moves
out of the dining room and into the green house. I've got 6 weeks to
get these plants ready for the first farmer's market. Not sure if
I'm going to make it.
![My front yard -- Pines in
Maybe I'm jumping the gun just a bit. This part of the yard doesn't look
much like spring.
So in general I have
Main flow of text
more main flow
class=pic floats left, and is 40% of the width of the parent.
class=picr floats right, and is 40% of the width of the parent.
This gives me a layout that works on pretty much everything from an
iPhone to a 21" display.
Now, postulate that I wanted to completely divorce the layout from the
content: How would I do it?
<div class = pic>
<div class = picr>
Yikes. Every photo I want to include will usually require an
additional two files.
Markdown was intended to reduce the amount of time we spent chasing
tags, and to be easy to write, edit and read in plain form as well as
published form. But layout is messier than email, and as soon as you
get to *anything* that you don't want to run in a fixed width column,
it starts getting creaky.
I'm sure there are situations where you DONT want markdown to process
what is inside block tags -- mostly stuff talking about markdown, near
as I can figure, but I bet the number of people who actually need
"ignore contents of block tags" are a small minority.
Now if I could just figure out how to keep markdown from wrapping
block tags in <p>'s
More information about the Markdown-Discuss