Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost indent for js source #51

Open
hhelwich opened this issue Mar 8, 2014 · 0 comments
Open

Lost indent for js source #51

hhelwich opened this issue Mar 8, 2014 · 0 comments

Comments

@hhelwich
Copy link
Contributor

hhelwich commented Mar 8, 2014

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:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant