tanoku/redcarpet — Issue #110: How do I render ``` code blocks that are wrapped in divs?
Author: viatropos
Created: 2012-02-15 20:02:48+00:00
State: open

Posted this in StackOverflow but wanted to repost it here b/c it's kind of specific:

http://stackoverflow.com/questions/9300414/how-do-i-render-code-blocks-in-markdown-with-redcarpet-that-are-wrapped-in-d

Basically, I'm trying to get this:

``` markdown
# A Header

``` javascript
$(document).ready(function() {})
```

```

…to compile out to this:

``` html

A Header

$(document).ready(function() {})

```

Do you know how I can accomplish this?