Skip to content

Print a preview of your Sublime Text code in your browser

License

Notifications You must be signed in to change notification settings

jrappen/sublime-print

Repository files navigation

License Required ST Build Latest tag SublimeHQ Discord Donate via PayPal

print plug-in for Sublime Text

Print a preview of your Sublime Text code in your browser.

Documentation

Offline plugin documentation is available via the menu or command palette.

Code of conduct

https://github.com/jrappen/.github/blob/master/CODE_OF_CONDUCT.md

Contributing guide

https://github.com/jrappen/.github/blob/master/CONTRIBUTING.md

Requirements

print targets and is tested against the latest Build of Sublime Text, currently requiring Build 4074 or later.

  • Download Sublime Text
  • Install Package Control via Tools > Install Package Control via the menu
    • Close and reopen Sublime Text after having installed Package Control.
    • Package Control is required, as it installs the dependencies for this package.

Installation

Using Package Control is required,as it keeps your packages (with their dependencies) up-to-date!

Installation via Package Control

  • Open the Command Palette (Tools > Command Palette).
  • Choose Preferences: Package Control - User.
//  Packages/User/Package Control.sublime-settings

{
    "installed_packages":
    [
        "print"
    ],
    "repositories":
    [
        "https://raw.githubusercontent.com/jrappen/sublime-print/master/package_control_channel.json"
    ]
}

Usage

print generates a preview for printing your Sublime Text code.

You can:

  • preview Markdown as HTML in Sublime
  • preview Markdown as HTML in your default Browser
  • preview highlighted code in your default Browser
  • copy code to clipboard as highlighted HTML-code-snippet

Look for Print: ... in:

  • the command palette (Tools > Command Palette)
  • or the context menu (right-click)

Usage: Preview Markdown in Sublime Text

md2subl Preview

Usage: Preview Markdown in Browser

md2browser Preview

Usage: Preview code in browser for printing

code2browser Preview

Usage: Copy highlighted code snippet as mini-HTML

code2clipboard Preview

Known issues with Markdown Preview

Source Code

https://www.github.com/jrappen/sublime-print

License

https://github.com/jrappen/sublime-print/blob/master/LICENSE

Issues

Please use the command palette or the main menu to report an issue.

Donations

https://www.paypal.me/jrappen

About

Print a preview of your Sublime Text code in your browser

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages