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

Strapdown Markdown Preview

by michfield ST3

Markdown preview plugin for Sublime Text 3 using Strapdown.js. No server-side processing is required as Strapdown.js is purely browser-based Markdown converter using Twitter Bootstrap for theming support.

Details

  • 2015.02.27.18.23.45
  • github.​com
  • github.​com
  • 4 years ago
  • 2 hours ago
  • 6 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

ST3 » Strapdown.js Markdown Preview

Sublime Text 3 plug-in that allows you preview your markdown files in your browser, using beautiful Strapdown.js.

Strapdown.js is mixing some Javascript with Bootstrap (Twitter's HTML5 & CSS framework) to show you beautiful presentation of your Markdown files.

The good thing about Strapdown.js is that resulting HTML, besides looking very good and being themeable, also contains unmodified Markdown content that can be easily edited anywhere and extracted back, if you need it again.

Installation

  • recommended is to use use Sublime Package Manager
  • press Ctrl+Shift+P then Package Control: Install Package
  • look for Strapdown.js Markdown Preview and install it.

Usage

  • use Ctrl+Shift+P then Strapdown.js Markdown Preview to launch a preview
  • or bind some key in your user key binding, using a line like this one:
    { "keys": ["ctrl+alt+m"], "command": "strapdown_markdown_preview", "args": {"target": "browser"} },

Metadata

You can specify additional attributes on top of your text file / active window. These details can change theme and the title of rendered file. Just add a comment near the start, like this:

The idea is very similar to YAML Front Matter or MultiMarkdown metadata header block, but it's more in line with Strapdown.js idea. Thus using HTML comment markers as metadata markers.

Metadata can be anywhere in document. If some attribute is specified multiple times, the last value will be used. For now, the only usable attributes are title and theme.

Licence

The code is available at GitHub under MIT licence.