Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d4c477749c | |||
| 79c785176f |
@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
This is a sublime text **3** plugin that allows you to preview your markdown instantly *in* it!
|
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
|
### 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.
|
**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):
|
if os.path.exists(USER_STYLE_FILE):
|
||||||
with open(USER_STYLE_FILE) as fp:
|
with open(USER_STYLE_FILE) as fp:
|
||||||
css += '\n' + fp.read() + '\n'
|
css += '\n' + fp.read() + '\n'
|
||||||
if color_scheme:
|
if color_scheme and color_scheme.endswith('.tmTheme'):
|
||||||
css += pygments_from_theme(get_resource(color_scheme))
|
css += pygments_from_theme(get_resource(color_scheme))
|
||||||
return ''.join([line.strip() + ' ' for line in css.splitlines()])
|
return ''.join([line.strip() + ' ' for line in css.splitlines()])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user