*** GMX Spamverdacht *** Re: ordered lists: type lower alpha?

sendiulo at gmx.net sendiulo at gmx.net
Wed Jul 24 14:54:21 EDT 2013


I'd rather like bering able to add {#id .class attr="whatevr"} to a paragraph. One could add that text that directly follows the curly bracket could be interpreted as a html tag: eg {div #id}

But instead of adding it before the paragraph i would add it After the paragraph; indeed it would change the paragraph to whatever you need.

One might still need an idea for adding two or more paragraphs together and for putting paragraphs inside eachother. For the latter i would use tabs, but those are already used for codeblocks (i prefer fenced codeblocks).

Sendiulo


Am 24.07.2013 um 14:19 schrieb Sherwood Botsford <sgbotsford at gmail.com>:


> Generalization: Do what you can in CSS.

>

> A very useful addition IMHO would be something like this:

>

> ::Foo::

> which would be translated for purposes of HTML as

> <DIV class="Foo">

>

> The occurrance of another

> ::BAR::

> would result in

> </DIV>

> <DIV class="BAR">

>

> But :::BAR::: wouldn't close the previous DIV.

>

> A small variation could do id= instead of class=

>

> DIVs are natural containers for CSS style elements, where you want to change the way something is presented.

>

> (I'm not wedded to the colon marker. It probably conflicts with something, but it sees fairly unobtrusive, and hence in line with the transparency goal of MD)

>

> This has the downside, that it would be difficult to translate to LaTeX. But does *anything* do MDD+CSS => LaTeX?

>

>

>

> Respectfully,

>

> Sherwood of Sherwood's Forests

>

> Sherwood Botsford

> Sherwood's Forests -- http://Sherwoods-Forests.com

> 780-848-2548

> 50042 Range Rd 31

> Warburg, Alberta T0C 2T0

>

>

>

> On 23 July 2013 13:57, John MacFarlane <jgm at berkeley.edu> wrote:

> +++ Klaus Mueller [Jul 23 13 18:40 ]:

> > Hi folks,

> >

> > atm we have in markdown [ordered lists] with the [type] 'arabic

> > numbers' working:

> >

> > 1. one

> > 1. two

> >

> > would it be possible to have also the type 'lower alpha'?

> >

> > a. first

> > a. second

> >

> > The type attribute is deprecated, but it is allowed to supported it

> > or just add an inline css (e.g. " style='list-style-type:

> > lower-alpha;' ").

>

> It's not standard markdown, but pandoc's extended markdown supports this:

> http://johnmacfarlane.net/pandoc/try/?text=a.+item%0Ab.+item%0A&from=markdown&to=html

>

> _______________________________________________

> 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/20130724/80777b3f/attachment.htm>


More information about the Markdown-Discuss mailing list