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

Sublime​Server

by learning ST2/ST3

[DEAD PROJECT]Make Sublime as a HTTP server, compatible with sublime 3

Details

Installs

  • Total 56K
  • Win 41K
  • OS X 11K
  • Linux 4K
Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1
Windows 23 19 18 20 57 27 31 21 19 31 50 30 28 26 20 21 23 28 36 31 24 11 20 22 33 46 32 37 20 22 49 35 33 31 41 15 23 22 28 33 34 29 16 21 38 37
OS X 2 3 3 2 5 2 3 1 3 3 10 5 9 9 5 4 3 4 4 5 2 1 3 8 3 2 4 7 6 5 7 2 3 6 1 3 2 8 2 4 4 2 2 11 1 8
Linux 2 1 4 3 0 4 2 2 2 3 1 4 4 2 2 2 4 5 2 2 1 1 5 3 3 2 0 3 2 4 3 2 1 0 2 1 3 2 6 1 4 1 0 2 2 2

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