Skip to content

willangley/PreviewInMarked

Repository files navigation

PreviewInMarked

⚠️ This is pre-alpha software! It has seen a few hours of use, tops; expect a bumpy ride if you install it now.

screenshot

Use Marked 2's streaming preview to preview Markdown files in Sublime Text 4.

This will only work with Sublime Text 4; it relies on its Python 3.8 plugin engine. You'll need a Sublime Text license key, a secret handshake an account on the Sublime Text Discord server, and a willingness to use pre-release software to try this out.

Installation

Installation is manual-only for now. Once this works reliably maaaaybe I'll upload it to Package Control.

  1. Download the code from GitHub
  2. Open Sublime Text
  3. Click Sublime Text > Preferences > Browse Packages
  4. Drag the ZIP file into the Packages folder

Use

  1. Open Sublime Text
  2. Open or create a Markdown file in Sublime Text
  3. Press ⌘ Command + ⇧ Shift + P to open the Command Palette
  4. Choose Preview In Marked and press ↩︎ Return

Updates will stream to Marked 2 as you type.

Configuration

PreviewInMarked is configurable with the usual Packages/User/PreviewInMarked.sublime-settings file. There's one setting, which controls the refresh frequency for previews; by default, it's:

{
   // Stream at most one update to Marked every `debounce_seconds`.
   "debounce_seconds": 1.0
}

License

Licensed under the Apache-2.0 License. Bundles a copy of rubicon-objc to talk to macOS APIs, licensed under a BSD-style license.

Disclaimer

This is not actively supported by Google; it is just code that happens to be owned by Google.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages