speaking of things undone?

Faisal N. Jawdat faisal at faisal.com
Tue Mar 8 20:49:37 EST 2005


Are there any thoughts on how to handle <dl> contents?

Like, I have a bunch of files tagged like this:

text one
-subtag

text two
-subtag

and right now i use a search and replace to turn that into

<dl>
<dt>text one</dt><dd>-subtag</dd>
<dt>text two</dt><dd>-subtag</dd>
</dl>

which is probably close to but not quite useful.

I'm guessing that something like this might work:

[beginning tag of sorts]
text one
	definition
text two
	definition
[end tag]

turning into

<dl>
<dt>text one</dt><dd>definition</dd>
<dt>text two</dt><dd>definition</dd>
</dl>

Putting all of one definition on one line is a minor point, but lets 
you later grep it and other such things.

-faisal



More information about the Markdown-Discuss mailing list