ordered lists: type lower alpha?
Sherwood Botsford
sgbotsford at gmail.com
Wed Jul 24 08:19:47 EDT 2013
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20130724/b9ea6cf0/attachment.htm>
More information about the Markdown-Discuss
mailing list