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

Sublime​Server

by learning ALL

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

Details

Installs

  • Total 99K
  • Win 77K
  • Mac 15K
  • Linux 7K
Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16
Windows 0 2 3 5 1 1 3 3 5 0 0 3 5 6 1 3 8 5 4 2 4 2 5 5 8 1 2 5 2 4 3 6 4 4 4 2 8 5 5 3 1 4 1 6 3 5
Mac 0 0 0 1 0 0 1 0 0 1 0 1 0 1 4 1 0 2 0 0 0 0 1 1 0 0 0 0 0 1 1 0 2 0 0 0 1 1 2 1 1 0 0 0 0 0
Linux 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 0 1 0 2 0 1 1 0 0 0 1 0 0 1 0 0 0 0 0 1 1 0 0 0 1 1 1 2 0 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