cites for blockquotes

Mike Shaver shaver at off.net
Thu Mar 18 19:22:27 EST 2004


John Gruber wrote:
> The date and time stuff isn't applicable. What we're looking for is
> a URL. So, maybe something like this:
> 
>     <http://example.com/>:
>     
>     > Now is the time for all good men to come
>     > to the aid of their country.
> 
> Or closed up if you prefer:
> 
>     <http://example.com/>:
>     > Now is the time for all good men to come
>     > to the aid of their country.

Please find attached a patch for your consideration, which implements 
that syntax (and eliminates a warning generated when no file is 
processed).  I don't detect <email at address.com> there, though I'm 
tempted to.

I'm not sure if you'd rather structure the regex extraction another way; 
I couldn't come up with anything much cleaner after light thinking, and 
I wanted to keep the changes minimally invasive.

I'm happy to grant copyright on this trivial patch to you, John, in aid 
of your possible relicensing business, of course -- just tell me how you 
want it worded.

Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: markdown-bq-cite.diff
Type: text/x-patch
Size: 1373 bytes
Desc: not available
Url : http://six.pairlist.net/pipermail/markdown-discuss/attachments/20040318/48b369cb/markdown-bq-cite.bin


More information about the Markdown-discuss mailing list