Pasted code from Enlighter indented by 4 spaces
-
Hi Andi,
Sorry to bother you again, but I figured I had better check to see how the code copied from Enlighter looks when pasted into where it would be used. For my testing, I used Notepad ++ (Win) and Simple CSS (WP plugin).As the title says, the pasted code is indented by 4 spaces. However, when copied and pasted from both Raw code mode or Opened in new window, it aligns flush left (as expected).
A couple questions then:
– is there a way to have the pasted code from the Enlighter display align flush left?
– would the indented code still work as expected?I would prefer to use the Enlighter display (I am using a Custom display as noted in my previous note) as it looks a lot nicer ?? Otherwise I will have to provide instructions on these pages on how to obtain code that won’t indent as the majority of visitors will just select the code and copy.
Cheers!
Lyle
- The topic ‘Pasted code from Enlighter indented by 4 spaces’ is closed to new replies.