Enlighter - Customizable Syntax Highlighter
[resolved] Copy & paste removes indentation and blank lines (3 posts)

  1. cdonts
    Posted 2 years ago #

    Hello again. I really like this plug in that's why I'm always here trying to report errors so you can improve it :-)

    With both C and Python code, when I copy from my blog to my text editor (notepad) or my IDE (geany) then the code is pasted without the original indentantion and blank lines.



  2. Andi Dittrich
    Plugin Author

    Posted 2 years ago #

    Dear cdonts,
    thanks for your feedback.
    to solve such issues, a "copy button" feature was requested on GitHub. it affects all languages and is caused by the fact, that the posted sourcecode is completely modified by EnlighterJS to provide the highlighting. i will try to add the "copy button/raw code" feature to the next major release (v2.0)

    best regards, Andi

  3. cdonts
    Posted 2 years ago #

    Thanks for your quick answer! Also still waiting this feature.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.