The recipe enables automatic insertion of some start-of-line wiki markups.
When a user writes wiki markup, a bulleted list is entered with the sign * before the line. When the user presses "Enter/Return", the script will examine the line and if it starts with *, it will automatically insert a * before the new line, similar to how office suites insert list items. This way the user needs to simply type the text of the new list item.
In a similar fashion, the following start-of-line markups are recognized and re-inserted automatically when the user presses "Enter":
The above automatic insertions are particularly useful on touch screen devices where it is more difficult to type punctuation.
Additionally, the following keyboard shortcuts might be appreciated by advanced editors with full keyboards:
These edit help functions were first written for a "Structured sections editor" recipe in February 2016 (currently under development/testing), but felt so natural and easy to use (a user described them as "exhilarating/addictive"), that I decided to port them to the regular PmWiki text editor. Enjoy!
Nothing can be configured at the moment.
In a wiki page, when editing a list item, a definition list, an indented/hanging text, or a simple table, press Enter/Return. The start-of-line markup will re-appear automatically on the new line.
If the markup from the previous line should not be repeated, simply delete it from the new line (backspace key) and type your text.
Change log / Release notes
Recipe written and maintained by Petko.
See discussion at EditHelp-Talk