ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Markdown​Complements

by junShimoji ALL

Markdown complements for sublime text 3

Details

Installs

  • Total 10K
  • Win 5K
  • Mac 3K
  • Linux 2K
Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
Windows 0 0 1 1 0 1 0 0 1 1 0 2 0 0 1 0 1 2 1 0 2 0 1 0 2 0 1 0 1 1 0 0 0 0 1 1 1 0 1 1 1 1 2 2 0 2
Mac 0 0 0 1 1 1 1 0 0 0 0 1 0 0 0 0 1 0 1 0 1 2 1 0 0 0 0 0 0 0 1 0 0 0 1 1 2 0 0 0 1 0 0 1 0 0
Linux 0 0 2 0 1 1 0 0 0 1 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

Markdown complements

Easy indenting of Markdown lists.

  • This plugin provides functions to complement a markdown list item making/changing or indent up/down.
  • Need to set Key Bindings only.
  • No need to care extensions(.md,.mdown,.txt or something like that).
  • Can change list items manually not connected with indent levels.
  • Can prevent conflicting with Japanese Input method that selected characters are disappearing.

Sublime Text Version

The plugin requires Sublime Text 3.

Installation

You can clone this repository into your Sublime Text “Packages” folder.

MacOS:

cd ~/"Library/Application Support/Sublime Text 3/Packages"
git clone https://github.com/junShimoji/markdowncomplements.git MarkDownComplements

Windows:

cd "%APPDATA%\"Sublime Text 3\Packages"
git clone https://github.com/junShimoji/markdowncomplements.git MarkDownComplements

Settings

There are 5 plug-ins.

  1. markdown_indent_down

If the focus line has a list item(*,+ or -), then you can indent down. If the focus line has no list item(*,+ or -), you can add a list item automatically.

  1. markdown_indent_up

If the line has a list item(*,+ or -), it indent up.

  1. markdown_new_line

It provides new line with a list item.

  1. markdown_rotate_list_item

If a list item(*,+ or -) exists, the list item lotates like * -> + -> - * ….

Use as follows.

Open Preferences > Key Bindings and add as follows:

{ 
    "keys": ["ctrl+enter"], "command": "markdown_indent_down",
    "context": [{ "key": "selector", "operator": "equal", "operand": "text.html.markdown" }]
},
{ "keys": ["ctrl+shift+enter"], "command": "markdown_indent_up" },
{ "keys": ["command+enter"], "command": "markdown_new_line" },
{ "keys": ["shift+enter"], "command": "markdown_rotate_list_item" }

Above “context” should be added if neceesary.

  1. outline to table

It provides outline to markdown table.

  • To make table header, use list item +.
  • To make table contents, use list item -.
  • Select texts which include headers and contents.
  • Open palette and input 'outline to table.'

example

before)

+ header1
    + header2
        + header3

- content1
    - content2
- content3
    - content4

after)

|header1|header2|header3|
|-|-|-|
|content1|content2|
|content3|content4|