attribute blocks for definition lists

sendiulo at gmx.net sendiulo at gmx.net
Tue Jul 2 00:20:34 EDT 2013


I would even go further and (gradually) allow setting {#id .class attr="attr"} for *any* element.

For block elements it would be in the last or following line and for span elements it would directly follow: e.g. *imporant text*{.special_emphasis}.


Am 01.07.2013 um 17:52 schrieb David Chambers <dc at davidchambers.me>:


> This strikes me as a sound suggestion. It would allow us to use a definition list where currently we'd be forced to use headings and paragraphs.

>

>

> On 1 July 2013 08:33, Matthieu Codron <codronm+markdown at gmail.com> wrote:

> Hello,

>

> As I am using markdown to write documentation, I am often tempted to make links to terms in definition lists.

>

> Since this is not possible for now (at least in php markdown extra), I was wondering if this could be a common addition in major implementation supporting definition lists.

>

> the syntax would be

>

> term {#id}

> : definition

>

> This syntax tries to follows current convention and use the similarity between titles and terms.

>

> Matthieu

>

> _______________________________________________

> Markdown-Discuss mailing list

> Markdown-Discuss at six.pairlist.net

> http://six.pairlist.net/mailman/listinfo/markdown-discuss

>

>

> _______________________________________________

> Markdown-Discuss mailing list

> Markdown-Discuss at six.pairlist.net

> http://six.pairlist.net/mailman/listinfo/markdown-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20130702/21e58227/attachment.htm>


More information about the Markdown-Discuss mailing list