Compare commits
7 Commits
40da1972af
...
v6.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 696eb1e1dd | |||
| 6379b673fc | |||
| b521caed0f | |||
| 9bcd725a41 | |||
| aec40dcf2f | |||
| b25ab1a4c6 | |||
| 243555c0c9 |
@ -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
|
Terminology
|
||||||
original_view: the view in the regular editor, without it's own window
|
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 time
|
||||||
import os.path
|
|
||||||
import struct
|
import struct
|
||||||
import sublime
|
|
||||||
import sublime_plugin
|
import sublime_plugin
|
||||||
|
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|||||||
Binary file not shown.
@ -15,7 +15,7 @@ import bs4
|
|||||||
|
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
from .lib.markdown2 import Markdown
|
from markdown2 import Markdown
|
||||||
|
|
||||||
__all__ = ("markdown2html",)
|
__all__ = ("markdown2html",)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user