Closed nh2 closed 12 years ago
Hi,
Extended the Fenced Code Blocks and Tables.
html = markdown.markdown(contents, ['fenced_code', 'tables']) + '\n'
Regards, Ogom
@ogom That was not what I meant - I mean when I do exactly that, I get the described error. Do you not get that error?
Added a local path.
if os.path.join(sublime.packages_path(), 'Markdown Slideshow', 'lib') not in sys.path:
sys.path.append(os.path.join(sublime.packages_path(), 'Markdown Slideshow', 'lib'))
from markdown import markdown
Thanks, your recent changes made it work! I had to use #4, though.
Try using a markdown extension, like
fenced_code
, by usingin
get_slideshow
. It doesn't work: It cannot find thefenced_code
module inmarkdown/__init__.py
, indef build_extension(self, ext_name, configs = [])
. Weirdly, it can find anextensions
module, but when Iabspath
that module's__dir__
, it tells me that it lives in my home directory, which certainly does not contain amarkdown
directory.Note: You need to put a
into
MarkdownSlideshow.py
to see the error.