pelican-mg icon indicating copy to clipboard operation
pelican-mg copied to clipboard

Summary doesn't work properly when jupyter notebooks are used

Open vinaymodi opened this issue 7 years ago • 0 comments

When a post is created as ipynb (jupyter notebook) following the procedure mentioned in https://github.com/danielfrg/pelican-ipynb, the summary content is ipython specific elements instead of text of the post. This issue doesn't occur many other pelican themes.

The summary of a post appears as:

/*! * * IPython notebook * / / CSS font colors for translated ANSI colors. / .ansibold { font-weight: bold; } / use dark versions for foreground, to improve visibility / .ansiblack { color: black; } .ansired { color: darkred; } .ansigreen { color: darkgreen; } .ansiyellow { color: #c4a000; } .ansiblue { color: darkblue; } .ansipurple { color: darkviolet; } .ansicyan { color: steelblue; } .ansigray { color: gray; } / and light for background, for the same reason */ .ansibgblack { background-color: black; } .ansibgred { background-color: red; } .ansibggreen {...

vinaymodi avatar May 16 '17 13:05 vinaymodi