atom / highlights

Syntax highlighter
https://atom.github.io/highlights
MIT License
530 stars 54 forks source link

Add option to disable `pre` wrapper #26

Open wooorm opened 8 years ago

wooorm commented 8 years ago

I’d like to use this (AWESOME!) highlighter, but I’d rather use something other than '<pre class="editor editor-colors">' ... </pre>. I can imagine others would too.

Would it be possible to specify an option to ignore that wrapping pre?

astoilkov commented 8 years ago

+1 for that. I would also suggest having an option for the <div class="line"></div> wrap also. The div adds additional complexity to the DOM structure that isn't required in most cases.