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 37K
  • Win 26K
  • OS X 9K
  • Linux 3K
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 Mar 11 Mar 10 Mar 9
Windows 28 25 26 48 54 55 50 62 29 31 50 50 78 74 70 62 30 27 22 44 65 74 33 29 77 81 45 70 66 15 33 53 66 52 48 71 29 35 59 55 49 67 49 37 24 61
OS X 6 5 3 7 9 5 12 8 9 5 9 10 11 9 12 14 7 4 9 12 12 13 5 8 12 3 8 12 8 4 5 5 9 15 11 12 2 6 12 23 15 13 6 4 5 8
Linux 3 1 1 7 5 3 10 2 3 3 7 1 3 2 1 4 1 3 5 5 7 4 6 1 4 9 5 5 3 2 4 3 3 1 5 2 2 3 4 3 3 2 4 7 1 1

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