Title: Python multiline comments / triple-quote string highlighting
Last modified: August 21, 2016

---

# Python multiline comments / triple-quote string highlighting

 *  Resolved [cdonts](https://wordpress.org/support/users/cdonts/)
 * (@cdonts)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/python-multiline-comments-triple-quote-string-highlighting/)
 * Is this implemented? Because it seems that the enlighter doesn’t recognize multiline
   comments like:
 * `def foo():
    """Function documentation here""" pass
 * Thanks in advance.
 * [http://wordpress.org/plugins/enlighter/](http://wordpress.org/plugins/enlighter/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * (@andi-dittrich)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/python-multiline-comments-triple-quote-string-highlighting/#post-4481105)
 * Dear cdonts,
    thanks for your report! of course..it’s missing.. the python highlighting
   is currently based on the Ruby ones..which uses `=begin my comment =end` multiline
   comment styles. i’ve fixed this issue in version 1.9 (which will be released 
   in the next weeks). The RC version is available here: [http://static.andidittrich.de/EnlighterJS/EnlighterJS.yui.js](http://static.andidittrich.de/EnlighterJS/EnlighterJS.yui.js)
   just replace the old EnlighterJS.yui.js with the new one and everything should
   work as excepted.
 * best regards, Andi
 *  Thread Starter [cdonts](https://wordpress.org/support/users/cdonts/)
 * (@cdonts)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/python-multiline-comments-triple-quote-string-highlighting/#post-4481209)
 * Thanks! I’ll just wait and update it from my wp desktop the next week!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Python multiline comments / triple-quote string highlighting’ is closed
to new replies.

 * ![](https://ps.w.org/enlighter/assets/icon-256x256.png?rev=1215872)
 * [Enlighter - Customizable Syntax Highlighter](https://wordpress.org/plugins/enlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/enlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enlighter/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [cdonts](https://wordpress.org/support/users/cdonts/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/python-multiline-comments-triple-quote-string-highlighting/#post-4481209)
 * Status: resolved