jbt / docker

Documentation generator
http://jbt.github.com/docker
MIT License
233 stars 56 forks source link

Lost indent for js source #51

Open hhelwich opened 10 years ago

hhelwich commented 10 years ago

If i have e.g. a file test.coffee with the content

###
  Example:
  ```js
  if (true) {
      x = 42;
  }


and run 

$ docker test.coffee


i get the following output with a lost indent:

``` js
if (true) {
x = 42;
}

I found a workaround by adding a * before lines which have an indent. Is there a better way?

I am using docker 0.2.10 and pygments 1.4.