File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212#-----------------------------------------------------------------------------
1313from __future__ import print_function
1414
15- # Stdlib
16- import codecs
17- import io
18- import logging
19- import os
20- import pprint
21- import re
22- import subprocess
23- import sys
24- import json
25- import copy
26- from types import FunctionType
27- from shutil import rmtree
28- from markdown import markdown
2915
3016# From IPython
3117from IPython .external import argparse
32- from IPython .nbformat import current as nbformat
33- from IPython .utils .text import indent
34- from IPython .nbformat .v3 .nbjson import BytesEncoder
35- from IPython .utils import path , py3compat
3618
3719# local
38- from lexers import IPythonLexer
39-
4020from converters .html import ConverterHTML
4121from converters .markdown import ConverterMarkdown
4222from converters .bloggerhtml import ConverterBloggerHTML
@@ -60,13 +40,13 @@ def main(infile, format='rst'):
6040 converter .render ()
6141 elif format == 'html' :
6242 converter = ConverterHTML (infile )
63- htmlfname = converter .render ()
43+ converter .render ()
6444 elif format == 'blogger-html' :
6545 converter = ConverterBloggerHTML (infile )
66- htmlfname = converter .render ()
46+ converter .render ()
6747 elif format == 'latex' :
6848 converter = ConverterLaTeX (infile )
69- latexfname = converter .render ()
49+ converter .render ()
7050 elif format == 'py' :
7151 converter = ConverterPy (infile )
7252 converter .render ()
You can’t perform that action at this time.
0 commit comments