print
plug-in for Sublime Text
Print a preview of your Sublime Text code in your browser.
Offline plugin documentation is available via the menu or command palette.
https://github.com/jrappen/.github/blob/master/CODE_OF_CONDUCT.md
https://github.com/jrappen/.github/blob/master/CONTRIBUTING.md
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.
Using Package Control is required,as it keeps your packages (with their dependencies) up-to-date!
- 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"
]
}
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)
- the Markdown Preview is limited to mini-HTML
- HTML comments break the preview (at that point)
mdpopups
usespython-markdown
andpymdownx
which use 4 spaces indentation
https://www.github.com/jrappen/sublime-print
https://github.com/jrappen/sublime-print/blob/master/LICENSE
Please use the command palette or the main menu to report an issue.