Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d4c477749c | |||
| 79c785176f | |||
| 82ad98085f |
@ -68,7 +68,6 @@ def markdown2html(md, basepath, color_scheme):
|
||||
|
||||
# BeautifulSoup uses the <br/> but the sublime phantoms do not support them...
|
||||
html = html.replace('<br/>', '<br />').replace('<hr/>', '<hr />')
|
||||
sublime.set_clipboard(html)
|
||||
|
||||
return html
|
||||
|
||||
|
||||
@ -2,6 +2,12 @@
|
||||
|
||||
This is a sublime text **3** plugin that allows you to preview your markdown instantly *in* it!
|
||||
|
||||
## Unmaintained
|
||||
|
||||
I am now using vim. I don't have the energy or the time to maintain this plugin anymore.
|
||||
|
||||
If anyone is interested in maintaining it, fork it, and submit a PR to package control to make it point to your fork.
|
||||
|
||||
### Dependencies
|
||||
|
||||
**None! There is no dependency!** It uses [markdown2](https://github.com/trentm/python-markdown2) but it's a one file plugin, so it's included in the package.
|
||||
|
||||
@ -127,7 +127,7 @@ def get_style(color_scheme):
|
||||
if os.path.exists(USER_STYLE_FILE):
|
||||
with open(USER_STYLE_FILE) as fp:
|
||||
css += '\n' + fp.read() + '\n'
|
||||
if color_scheme:
|
||||
if color_scheme and color_scheme.endswith('.tmTheme'):
|
||||
css += pygments_from_theme(get_resource(color_scheme))
|
||||
return ''.join([line.strip() + ' ' for line in css.splitlines()])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user