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

Sublime​Server

by learning ST2/ST3

Make Sublime as a HTTP server, compatible with sublime 3

Details

Installs

  • Total 49K
  • Win 35K
  • OS X 10K
  • Linux 4K
Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28
Windows 18 49 34 40 33 47 54 64 61 100 29 32 30 47 54 53 56 25 38 54 69 56 58 68 30 38 61 51 47 91 71 31 31 41 42 49 49 71 18 31 46 44 55 58 49 33
OS X 8 9 4 1 4 5 5 15 16 10 7 3 7 7 7 13 10 5 7 10 7 5 6 7 6 4 6 12 13 9 5 4 6 7 7 8 12 8 3 6 5 9 5 11 6 6
Linux 0 0 3 1 3 4 6 3 3 2 1 2 5 5 6 4 4 3 4 3 5 2 4 6 2 1 6 4 7 2 1 2 2 8 2 2 6 2 1 2 3 6 1 2 1 3

Readme

Source
raw.​githubusercontent.​com

SublimeServer

Turn you Sublime Text editor into a HTTP server, and serves all the open project folders, now support ST2 and ST3


Markdown Rendering

When a client requests a Markdown file(.md), the server will return an Html file instead of the requested Markdown file, the Html file contains all of content of the Markdown file and will render Markdown syntax into Html syntax on the client side.

Setup

Open Tools-SublimeServer-Settings, add mime types for Markdown like below

{
    "attempts": 5,
    "autorun": false,
    "interval": 500,
    "mimetypes":
    {
        "": "application/octet-stream",
        ".c": "text/plain",
        ".h": "text/plain",
        ".markdown": "text/x-markdown; charset=UTF-8",
        ".md": "text/x-markdown; charset=UTF-8",
        ".py": "text/plain"
    },
    "port": 8080
}

Change Log

0.3.3 - Mar 6, 2016

0.3.2 - Oct 12, 2014

  • Add markdown support, thanks rookiecj.
  • Add default stylesheet.
  • Add default extension setting, thanks jdiamond.
  • Fix some ST3 problems

0.3.1 - Jun 1, 2014

Add Sublime Text 3 support.

0.2.1 - Aug 31, 2012

Improvements - Add auto-start support, Thanks sapara.(#8)

0.2.0 - Jul 20, 2012

Bug fix:

While dragging new folders to Sublime or remove folders from Sublime, SublimeServer cannot refresh it.(#4) Improvements

  • Custom mime-types support.
  • Disable unavailable menu items, Thanks bizoo.(#6)

0.1.2 - Jun 28, 2012

Bug fix: - Thread still alive and cannot stop.(#2)

Misc: - Move SublimeServer.sublime-settings to User folder.

0.1.0 - Jun 02, 2012

SublimeServer can basically use

Know issues:

  • While sublime reload plugins, last SublimeServer thread still alive and cannot stop it.(#2)
  • While dragging new folders to Sublime or remove folders from Sublime, SublimeServer cannot refresh it.(#4)

For more details please visit http://learning.github.com/SublimeServer