I've run into a problem with multimarkdown, and would like advice:<div> <div> <div>From Fletcher's doc:<div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> </blockquote>
<div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Unlike PHP Markdown Extra, all definitions are wrapped in <p> tags. First, I </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
was unable to get Markdown not to create paragraphs. Second, I didn’t see </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">where it mattered - the only difference seems to be aesthetic, and I actually </blockquote>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">prefer the <p> tags in place. Let me know if this is a problem.</blockquote><div><blockquote></blockquote><div> <div>
1. <p><div></p> causes W3C's xhtml checker to whine. All non-ancient<div>browsers do the right thing, so I can ignore it.<div> <div>2. The combination of<div><p><img .... ></p><div>
<div>and the CSS code snippet<div> <div>p {<div> text-indent: 1em;<div> }<div> <div>causes the IMAGE to be indented 1 em. (presumably since it's in the<div>first line of text.)<div> <div>This also adds an extra em of leading space to my headlings -- that I<div>
can live with.<div> <div><div> <div>This is solveable by putting an additional css snippet in</div><div></div><div>p img {</div><div> margin-left: -1em;</div><div> }</div><div></div><div>(img doesn't know about text-indent.</div>
<div></div><div>This is a hack, and makes for the potential of ugly side effects when modifying the css code --</div><div>something already filled with surprises.</div><div></div><div>The ideal solution from my perspective is two modifications of MMD that I can't figure out how to do:</div>
<div></div><div>1. Remove the extra <p> tagging.</div><div>2. Specify automatically that structural tags get passed through unchanged.</div><div>(Structural tags = div, body, html, and those tags that lurk in the head.</div>
<div></div><div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>