Python – multiline comment in PyCharm

Python language has no internal multiline comment syntax (like \* … *\ in other languages). There are two ways to solve this:

  1. Use multiline string literal syntax: ′′′

Disadvantage of this way is that such comment remains constant string and processed in finished code.

  1. If the PyCharm IDE is used to write Python code – select multiple code rows to comment and press keyshot Ctrl + / to comment all of them.

To remove comments from multiple commented strings select them and press Ctrl + / again.

WordPress TinyMCE Advanced Editor plugin – setting start value for numeric list

Little external plugin for Wordpress TinyMCE Advanced Editor. Adds new button to the editor menu to set start values of numeric lists.

Appends “start” attribute to “OL” tag.

Plugin usage example
Plugin usage example

Continue reading “WordPress TinyMCE Advanced Editor plugin – setting start value for numeric list”