Ask Your Question

askbot has maybe parsing problems

asked 2013-02-07 18:56:45 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

Is this an error in the wiki parsing. When I indent a line by four spaces and have a linefeed between it and the text before it is rendered as code/preformatted. E.g.:


But after the first enumeration it is broken:

  1. Again, level one
  2. some things
  3. foo bar things

    for x in range(0, 3): print "We're on time %d" % (x)

This is the error I mean! How can I write code after an enumeration? Only solution: I have to write something above the code.


  1. aaa
  2. bbb
  3. ccc

This is a thing that I have to write, otherwise the following code isn’t formatted as code:

for x := 1 to 7 do

Is this fixable?

edit retag flag offensive close merge delete


Interesting... Askbot depends on markdown2 python lib for this, maybe it's a problem on that lib, I'll do some tests

Fitoria's avatar Fitoria  ( 2013-02-07 19:02:39 -0500 )edit

interesting.. I gave an answer to this post, but the answer is invisible, because i've removed the wiki check mark. however you need 8 spaces for your code to make it looking like a code

Toms's avatar Toms  ( 2013-02-08 03:20:13 -0500 )edit

ok, my answer is back.. after posting the above comment

Toms's avatar Toms  ( 2013-02-08 03:21:12 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2013-02-08 03:15:10 -0500

Toms's avatar

I have had a similar question

Here is the solution (8 spaces):

  1. Again, level one
  2. some things
  3. foo bar things

    for x in range(0, 3):
    print "We're on time %d" % (x)
edit flag offensive delete link more


Thank you.

erik's avatar erik  ( 2013-02-11 05:12:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-02-07 18:56:45 -0500

Seen: 158 times

Last updated: Feb 08 '13