First, we used two caches. Turns out that lru_cache wasn't needed, the dict works perfectly fine on it's own. Second, we now also cache local images, so that we don't have to read them off the filesystem and convert them to base64 on every keystroke Maybe there should be a maximum size on that cache dict, but I doubt anyone would actually run into any trouble this cache taking too much ram.
MarkdownLivePreview
A simple plugin to preview your markdown as you type right in Sublime Text. No dependencies!
How to install
It's available on package control!
How to contribute
If you know what feature you want to implement, or what bug you wanna fix, then
go ahead and hack! But if you wanna contribute just to say thanks, and don't
really know what you could be working on, then there are a bunch of FIXMEs
in MarkdownLivePreview.py and markdown2html.py (GitHub only shows the top
2 results if you try to search using their interface 🙁).
Hack it!
- Fork this repo
- Make your own branch (the name of the branch should be the feature you are
implementing eg.
improve-tables,fix-crash-on-multiple-preview - All your code should be formated by black.
- Send a PR!
FIXME: add a git hook to format using black (can the git hook be added on github?)
v6.0.2
Latest
Languages
Python
99.9%
CSS
0.1%