{ "info": { "author": "Cristian Prieto", "author_email": "me@cprieto.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Filters", "Topic :: Text Processing :: Markup :: HTML" ], "description": "# Notebook style markdown extension\n\nIf you work with Jupyter notebooks, you will remember they have the concept of _inputs_ and _outputs_ in the notation, an input is something you enter and and output what the compiler or interpreter returns (it is very useful with expression based languages like OCaml or Haskell).\n\nWhen working in a Jupyter to Notebook extension for Pelican I found problems trying to convert the inputs and outputs to a markdown syntax, so I think this could be useful to represent them in markdown.\n\nThis extension adds support for the elements `|[]>` and `|<[]` to indicate _outputs_ and _inputs_ respectibly. They will be rendered inside `code` elements with defined class styles, for example:\n\n```md\n|[]> val a: int = 4 |[]>\n```\n\nWould be rendered as:\n\n```html\nval a: int = 4\n```\n\nYou can define a number between the brackets for the style:\n\n```md\n|[12]> val a: int = 5 |[]>\n```\n\nWould be rendered as:\n\n```html\n12val a: int = 4\n```\n\n## Configuration options\n\n * `output_class` what class to use with the output code, by default is `notebook_output`\n * `show_output` display output, by default is `True`, set this if you want to hide the output at all\n * `show_label` display a label for the output\n * `label_text` used with `show_label` set the text for the label for each output\n\n## Using the extension\n\nFirst install with pip: `pip install markdown-notebook` and then set the extension name in your Python Markdown library, the name of the extension is `mdx_notebook`.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/cprieto/mdx_notebook", "keywords": "text filter markdown html notebook jupyter", "license": "", "maintainer": "", "maintainer_email": "", "name": "markdown-notebook", "package_url": "https://pypi.org/project/markdown-notebook/", "platform": "", "project_url": "https://pypi.org/project/markdown-notebook/", "project_urls": { "Homepage": "http://github.com/cprieto/mdx_notebook" }, "release_url": "https://pypi.org/project/markdown-notebook/1.0/", "requires_dist": null, "requires_python": "", "summary": "Python markdown extension to render Jupyter output notation", "version": "1.0" }, "last_serial": 4795023, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "9fd95a3f1bb1bee13b916237ece8f831", "sha256": "288bcaf1485cf52b3460e3728353985796712fe10be2eab7bef80713d457b517" }, "downloads": -1, "filename": "markdown_notebook-1.0.tar.gz", "has_sig": false, "md5_digest": "9fd95a3f1bb1bee13b916237ece8f831", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3219, "upload_time": "2019-02-08T10:27:59", "url": "https://files.pythonhosted.org/packages/3e/26/d1e2eb09f5f20ec77182045494d4f27cfeb7dd2505aba6c7eb9408627fa9/markdown_notebook-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9fd95a3f1bb1bee13b916237ece8f831", "sha256": "288bcaf1485cf52b3460e3728353985796712fe10be2eab7bef80713d457b517" }, "downloads": -1, "filename": "markdown_notebook-1.0.tar.gz", "has_sig": false, "md5_digest": "9fd95a3f1bb1bee13b916237ece8f831", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3219, "upload_time": "2019-02-08T10:27:59", "url": "https://files.pythonhosted.org/packages/3e/26/d1e2eb09f5f20ec77182045494d4f27cfeb7dd2505aba6c7eb9408627fa9/markdown_notebook-1.0.tar.gz" } ] }