Skip to content

jasonmhoule/editor-autolist-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplify bullet list usage when editing Markdown text for your tiddlers

This plugin simplifies the creation and editing of these lists by handling bullet level and content intelligently, right in the text editor.

Bulleted lists in Markdown are created using the following syntax:

- First level
  - Second level
    - Third level
  - Second level again

Keybindings

  • Tab / Shift-Tab: indent/un-indent a line. If you select multiple bullet lines, these are each indented/unindented (preserving any existing difference of levels), allowing you to reorganize whole list sections at once.
  • Alt-Shift-Up / Alt-Shift-Down: move the selected text (multiple lines if selected) up or down one line, preserving list levels.
  • Enter: from a list level, creates a new bullet at the same list level. Hitting Enter a second time (from the now empty list level) removes the empty list level and concludes the list.

Note: the plugin is currently configured to apply these rules only for tiddlers of type: text/x-markdown or text/markdown and so requires a separate plugin to actually render tiddlers written in Markdown. This plugin was written and tested using the Markdown plugin authored by Jeremy Ruston.

This plugin is based on the Editor AutoLists plugin by Saq Imtiaz, adapted for Markdown and extended.

About

Markdown bullet list utility for TW5

Resources

Stars

Watchers

Forks

Packages

No packages published