On Mon, Nov 7, 2011 at 4:38 PM, Waylan Limberg way...@gmail.com wrote:
[snip]
Probably the most logical solution is to have fenced code blocks work
in list items.
FWIW, child code blocks (fenced) are the usual reason I turn from
python-markdown to kramdown. It's been non-fussy about them -- in
john said:
Actually not. babelmark was a great tool, but
all i say is, it's good we have a u.c. berkeley philosophy professor
tracking all of this stuff, because anyone else would go nuts.:+)
-bowerbird___
Markdown-Discuss mailing list
how does john macfarlane keep all of this straight?
(yeah, yeah, i know, he uses babelmark. but still...)
like all the other variations, this one strikes me as
making markdown precarious, and unsustainable...
there's only one good way to sort all of this out:
ask what does
+++ bowerb...@aol.com [Nov 11 11 14:10 ]:
how does john macfarlane keep all of this straight?
(yeah, yeah, i know, he uses babelmark. but still...)
Actually not. babelmark was a great tool, but the versions of
the markdown implementations it uses are now too outdated.
On Sun, Nov 6, 2011 at 10:11 PM, Ryan Chan ryanchan...@gmail.com wrote:
Hello,
How to correctly made multiline code block within a list, like..
* foo
* bar
* ``` Code 1
Code 2
Code 3
```
* Another list item
The above markup is not working, what I want is Code 1, Code 2 and
Code
code block within a list, like..
* foo
* bar
* ``` Code 1
Code 2
Code 3
```
* Another list item
The above markup is not working, what I want is Code 1, Code 2 and
Code 3 appear in different lines.
Ryan,
The backtick syntax is for code spans. If you want code blocks, then
to should
On 2011-11-08 01:08 +0800 Ryan Chan wrote:
Actually this is one of the limitation that I went to reST...sad to
hear the suitation is still the same..
Not with every implementation. You can do this easily with kramdown:
* for
* bar
*
Code 1 (8 spaces)
Code
discount, PHP markdown, lunamark, pandoc2, and possibly others
allow a code block as sole list item; you just need make sure that the text
starts in the 8th column (where the list marker is the 1st column):
* hi
hi
ul
liprecodehi
hi
/code/pre/li
/ul
The ``` syntax for code blocks
Hello,
How to correctly made multiline code block within a list, like..
* foo
* bar
* ``` Code 1
Code 2
Code 3
```
* Another list item
The above markup is not working, what I want is Code 1, Code 2 and
Code 3 appear in different lines.
Thanks