{"id":15009015,"url":"https://github.com/ncornette/python-markdown-editor","last_synced_at":"2025-04-05T13:07:01.925Z","repository":{"id":14851997,"uuid":"17575153","full_name":"ncornette/Python-Markdown-Editor","owner":"ncornette","description":"Standalone editor for your markdown files","archived":false,"fork":false,"pushed_at":"2022-01-24T11:39:34.000Z","size":1495,"stargazers_count":209,"open_issues_count":6,"forks_count":56,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-05T13:06:56.911Z","etag":null,"topics":["bottle","bottlepy","browser","editor","extensible","gfm","javascript","markdown","modular","python-2","python-3"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ncornette.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-09T22:19:48.000Z","updated_at":"2025-02-27T14:33:15.000Z","dependencies_parsed_at":"2022-07-22T09:02:49.854Z","dependency_job_id":null,"html_url":"https://github.com/ncornette/Python-Markdown-Editor","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncornette%2FPython-Markdown-Editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncornette%2FPython-Markdown-Editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncornette%2FPython-Markdown-Editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncornette%2FPython-Markdown-Editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ncornette","download_url":"https://codeload.github.com/ncornette/Python-Markdown-Editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339158,"owners_count":20923014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bottle","bottlepy","browser","editor","extensible","gfm","javascript","markdown","modular","python-2","python-3"],"created_at":"2024-09-24T19:22:25.573Z","updated_at":"2025-04-05T13:07:01.907Z","avatar_url":"https://github.com/ncornette.png","language":"JavaScript","readme":"Python-Markdown-Editor\n======================\n\n|Build Status| |PyPI py versions| |PyPI version| |Code quality|\n\nStandalone editor for your local markdown files\n\nInstallation\n~~~~~~~~~~~~\n\nTo install the latest stable version from Pypi :\n\n.. code:: sh\n\n    $ pip install markdown-editor\n\nUsage\n~~~~~\n\n.. code:: sh\n\n    $ markdown_edit README.md\n\nIt will open the editor in your browser :\n\n.. figure:: https://github.com/ncornette/Python-Markdown-Editor/raw/master/screenshot.png\n   :alt: screenshot\n\n   screenshot\n\nFeatures\n~~~~~~~~\n\n-  Side-by-side markdown editor \u0026 html preview\n-  Live, when you type html preview\n-  Codehilite \u0026 markdown extra syntax support by default\n-  Github syntax support\n-  Github styles for rendering and codehilite\n-  Scrollbars sync\n\nDependencies\n~~~~~~~~~~~~\n\n-  Markdown\n-  Pygments\n-  Bottle\n-  pymdown-extensions\n\nOther usage examples\n~~~~~~~~~~~~~~~~~~~~\n\nLaunch editor without input file for testing :\n\n.. code:: bash\n\n    $ markdown_edit\n\nEdit markdown file and save both markdown and html outputs :\n\n.. code:: bash\n\n    $ markdown_edit -f README.html README.md\n\nExtensible\n~~~~~~~~~~\n\nYou can import this script as a module to write your own applications\nbased on the markdown editor.\n\nexample :\n\n.. code:: python\n\n    from markdown_editor import web_edit\n    from markdown_editor.editor import MarkdownDocument\n\n    # ...\n\n    MY_HTML_HEAD = 'Editor title'\n\n    def action_send(document):\n\n        send_markdown_text(document.text)\n        # or\n        send_raw_html_code(document.getHtml())\n        # or\n        send_html_with_styles(document.getHtmlPage())\n\n        return html_to_display_as_result, keep_running_local_server\n\n    if __name__ == '__main__:\n        doc = MarkdownDocument()\n        web_edit.start(doc,\n            custom_actions=[\n                    ('Send', action_send),\n            ],\n            title=MY_HTML_HEAD)\n\n.. |Build Status| image:: https://travis-ci.org/ncornette/Python-Markdown-Editor.svg?branch=master\n   :target: https://travis-ci.org/ncornette/Python-Markdown-Editor\n.. |PyPI py versions| image:: https://img.shields.io/pypi/pyversions/Markdown-Editor.svg?maxAge=2592000\n   :target: https://pypi.python.org/pypi/Markdown-Editor\n.. |PyPI version| image:: https://img.shields.io/pypi/v/Markdown-Editor.svg?maxAge=2592000\n   :target: https://pypi.python.org/pypi/Markdown-Editor\n.. |Code quality| image:: https://api.codacy.com/project/badge/Grade/189b747c1f874f3090168cae42b35217\n   :target: https://www.codacy.com/manual/nicolas-cornette/Python-Markdown-Editor?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=ncornette/Python-Markdown-Editor\u0026amp;utm_campaign=Badge_Grade\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncornette%2Fpython-markdown-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncornette%2Fpython-markdown-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncornette%2Fpython-markdown-editor/lists"}