PKšpKà2EK‘‘jekyllmarkdown/__init__.py"""Defines the JekyllMarkdownExporter class.""" from nbconvert.exporters.markdown import MarkdownExporter import os.path as op from traitlets import default __version__ = "0.1" class JekyllMarkdownExporter(MarkdownExporter): """ Convert Jupyter Notebooks into JekyllMarkdown syntax. Defines an ``nbconvert`` class that will convert Jupyter Notebooks into a Markdown flavor that works with Jekyll. Currently all this does is wrap input / output cells with some divs that let you style them however you wish. """ def __init__(self, *args, **kwargs): """Initialize the exporter.""" super(JekyllMarkdownExporter, self).__init__(*args, **kwargs) path_templates = op.join(op.dirname(__file__), 'templates') self.template_path.append(path_templates) @default('template_file') def _template_file_default(self): return 'jekyllmarkdown' PKBdKùq"bb+jekyllmarkdown/templates/jekyllmarkdown.tpl{%- extends 'markdown.tpl' -%} {%- block input scoped -%} {:.input}{{ super() }} {%- endblock input %} {% block output %} {:.output}{{ super() }} {% endblock output %} {% block display_data %} {:.display_data}{{ super() | replace()}} {% endblock display_data %} {% block execute_result %} {:.execute_result}{{ super() }} {% endblock execute_result %} PK+pK “99$jekyllmarkdown-0.1.dist-info/LICENSEThe MIT License (MIT) Copyright (c) 2017 Chris Holdgraf Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. PK!HÙ¡à»Wd"jekyllmarkdown-0.1.dist-info/WHEEL ÏHMÍÑ K-*ÎÌϳR0Ô3àrOÍK-J,É/²RHËÉ,Q0Ð34Ô3á ÊÏ/Ñõ,Ö (-JÍÉL²R()*Må IL·R(¨4ÒÍËÏKÕMÌ«„‰#DPK!H?—Í!%jekyllmarkdown-0.1.dist-info/METADATA]޽RÃ0„{=Ž€eB©ŠL`& Ø)¤¾HçHX#É€Þ'c((w÷¾Ý먠‚Í;¥l‚°â÷¬GG>h¬Ö:L£ _žý]Üñ;Nnª€GŒ§ Eìo@·Oß1¤B ¤Åœ9ÛGMÄËܬK‰¢mc"edÁ³­>˜\¹ ®ý·úb$ù<3oýs8õl=’€N&Ã6XuI8,vC õâ?œ)d©rRÛ\?1ƒ¡™_ŠA8w°Ž1…ORWÝí^cöPK!Hu¬^²5ï#jekyllmarkdown-0.1.dist-info/RECORD}Í»’‚0@ÑÞob ¸("òPW&D$”gøú-(ÜÂúΜûˆ3Šq_"]1¢´Hë(âJÊTw(J‹¯42z­cW½ªÃ(CÕ\›\³„²Eð’”n㢽ˆ/ä2ª0›<ÞÅ:ÎK 븚¾®.ñ¸XçJp˜'Ç«í\:RgfÞóœ¿Ä¨“/÷f¡»!DîžWf&Íÿ-Xž8”V5›72Ý®u°óÁhŸaâ+"ƒ5ŸýèÈšÅã¨ÕÕB¡¾›HØè ¥‘ÒmƼ"|ÆO&Û‘vûo|B"ñ“J,懣ê‘]/¸ëË!´±f[T]‘îæ?Ë6–Æ2XŽ¸Ñ· o¸{ ré)¯Í˜¦ÕÍÚçuKJø~XÚ°¡š9dŒ¨¨ŸqèŽg0ÌäPKšpKà2EK‘‘ÿjekyllmarkdown/__init__.pyPKBdKùq"bb+ÿÉjekyllmarkdown/templates/jekyllmarkdown.tplPK+pK “99$ÿtjekyllmarkdown-0.1.dist-info/LICENSEPK!HÙ¡à»Wd"€ï jekyllmarkdown-0.1.dist-info/WHEELPK!H?—Í!%€† jekyllmarkdown-0.1.dist-info/METADATAPK!Hu¬^²5ï#€– jekyllmarkdown-0.1.dist-info/RECORDPKç