Closed thatcher closed 9 years ago
Oh wow, thanks for finding this!
Currently I let the kernel decide if lines are valid code and of course, the first two lines of a loop are valid :-(
No worries, I dont want to overwhelm, hopefully being a beta user for you will help sort out the doh! level issues. I want to commit patches as well but also know that comes with its own extra effort since you know the code better and can probably fix it faster and better. I'm watching all the commits now and keeping my clone up, so as I get more familiar with it I'll be a better asset than a ticket clerk ;)
Ok, produced a fix... #18
And please keep the bugreports coming! :-)
This should be fixed in #18, which I just merged. Please reopen if the problem wasn't fixed.
@thatcher: Thanks for your bugreport!
Here is simple test that demonstrates the gist. Note I had to escape all triple back ticks inside the ticket description to get the example to render in a code block for the ticket.
And here is the resulting output intermediate markdown file:
This demonstrates the {python} code block is actually being interpreted as:
This issue was originally discovered on a unix box and I verified it also occurred on my windows machine, though I havent checked my osx machine yet.