docpad-plugin-highlightjs icon indicating copy to clipboard operation
docpad-plugin-highlightjs copied to clipboard

First 4 spaces not recognized

Open chrisabrams opened this issue 12 years ago • 1 comments

When I write my code in markdown, and I indent it 4 spaces, the highlight code does not show the indent. If I indent my code 6 spaces, it shows the code indented 2 spaces. If I indent my code 8 spaces, it shows the code indented 4 spaces. It seems like the first 4 spaces are ignored. Is this done on purpose? My guess is that because the code is wrapped in a code block, the examples shown don't indent out 4 spaces like you would do in markdown...which is why the 4 spaces are ignored?

chrisabrams avatar Feb 23 '13 23:02 chrisabrams

Hey Chris, please post examples with the source, actual output, and expected output - that'll make sure we're all on the same page. Thanks!

balupton avatar Feb 24 '13 05:02 balupton