Compare commits

...

8 Commits

28 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,9 @@
import os, sys, sublime
pkg = os.path.basename(os.path.dirname(__file__))
lib = os.path.join(sublime.packages_path(), pkg, "lib")
if lib not in sys.path:
sys.path.insert(0, lib)
"""
Terminology
original_view: the view in the regular editor, without it's own window
@ -8,9 +14,7 @@ preview_window: the window with the markdown file and the preview
"""
import time
import os.path
import struct
import sublime
import sublime_plugin
from functools import partial

Binary file not shown.

View File

@ -15,7 +15,7 @@ import bs4
from functools import partial
from .lib.markdown2 import Markdown
from markdown2 import Markdown
__all__ = ("markdown2html",)

View File

@ -8,8 +8,8 @@
"homepage": "https://git.0x42.cloud/christian.morpurgo/MarkdownLivePreview",
"releases": [
{
"version": "6.0.0",
"url": "https://git.0x42.cloud/christian.morpurgo/MarkdownLivePreview/releases/download/v6.0.0/MarkdownLivePreview.sublime-package",
"version": "6.0.1",
"url": "https://git.0x42.cloud/christian.morpurgo/MarkdownLivePreview/releases/download/v6.0.1/MarkdownLivePreview.sublime-package",
"date": "2025-04-24 00:00:00",
"sublime_text": "*"
}