All Projects → ncornette → Python Markdown Editor

ncornette / Python Markdown Editor

Standalone editor for your markdown files

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Python Markdown Editor

Vditor
♏ 一款浏览器端的 Markdown 编辑器。
Stars: ✭ 1,742 (+962.2%)
Mutual labels:  markdown, editor, gfm
Tui.editor
🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
Stars: ✭ 14,016 (+8446.34%)
Mutual labels:  markdown, editor, gfm
Vditor
♏ 一款浏览器端的 Markdown 编辑器,支持所见即所得(富文本)、即时渲染(类似 Typora)和分屏预览模式。An In-browser Markdown editor, support WYSIWYG (Rich Text), Instant Rendering (Typora-like) and Split View modes.
Stars: ✭ 3,773 (+2200.61%)
Mutual labels:  markdown, editor, gfm
Editor.md
The open source embeddable online markdown editor (component).
Stars: ✭ 11,741 (+7059.15%)
Mutual labels:  markdown, editor, gfm
Turndown
🛏 An HTML to Markdown converter written in JavaScript
Stars: ✭ 5,991 (+3553.05%)
Mutual labels:  markdown, browser, gfm
Balsa
This repository holds source code of Balsa, a self hosted, privacy focused knowledgebase.
Stars: ✭ 93 (-43.29%)
Mutual labels:  markdown, editor
React Markdown
Markdown editor (input) based on React
Stars: ✭ 98 (-40.24%)
Mutual labels:  markdown, editor
Markor
Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..
Stars: ✭ 1,394 (+750%)
Mutual labels:  markdown, editor
Remark Github
plugin to autolink references to commits, issues, pull-requests, and users, like on GitHub
Stars: ✭ 83 (-49.39%)
Mutual labels:  markdown, gfm
Retext
ReText: Simple but powerful editor for Markdown and reStructuredText
Stars: ✭ 1,500 (+814.63%)
Mutual labels:  markdown, editor
Md
✍ 一款高度简洁的微信 Markdown 编辑器:支持 Markdown 所有基础语法、色盘取色、一键复制并粘贴到公众号后台、多图上传、一键下载文档、自定义 CSS 样式、一键重置等特性
Stars: ✭ 2,242 (+1267.07%)
Mutual labels:  markdown, editor
Tiptap
The headless editor framework for web artisans.
Stars: ✭ 13,629 (+8210.37%)
Mutual labels:  editor, browser
Spritemate
spritemate is a browser based sprite editor for the Commodore 64
Stars: ✭ 89 (-45.73%)
Mutual labels:  editor, browser
Markdown Online Editor
📝基于 Vue、Vditor,所构建的在线 Markdown 编辑器,支持流程图、甘特图、时序图、任务列表、HTML 自动转换为 Markdown 等功能;🎉新增「所见即所得」编辑模式。
Stars: ✭ 1,373 (+737.2%)
Mutual labels:  markdown, editor
Hypermd
A WYSIWYG Markdown Editor for browsers. Break the Wall between writing and previewing.
Stars: ✭ 1,258 (+667.07%)
Mutual labels:  markdown, editor
Hads
📚 Markdown superpowered documentation for Node.js
Stars: ✭ 147 (-10.37%)
Mutual labels:  markdown, gfm
Mpeditor
微信markdown编辑器
Stars: ✭ 146 (-10.98%)
Mutual labels:  markdown, editor
Commonmark
Highly-extensible PHP Markdown parser which fully supports the CommonMark and GFM specs.
Stars: ✭ 2,128 (+1197.56%)
Mutual labels:  markdown, gfm
Showdown
A bidirectional Markdown to HTML to Markdown converter written in Javascript
Stars: ✭ 12,137 (+7300.61%)
Mutual labels:  markdown, gfm
Markdownxiaoshujiang
markdownxiaoshujiang
Stars: ✭ 1,188 (+624.39%)
Mutual labels:  markdown, editor

Python-Markdown-Editor

|Build Status| |PyPI py versions| |PyPI version| |Code quality|

Standalone editor for your local markdown files

Installation


To install the latest stable version from Pypi :

.. code:: sh

    $ pip install markdown-editor

Usage
~~~~~

.. code:: sh

    $ markdown_edit README.md

It will open the editor in your browser :

.. figure:: https://github.com/ncornette/Python-Markdown-Editor/raw/master/screenshot.png
   :alt: screenshot

   screenshot

Features
~~~~~~~~

-  Side-by-side markdown editor & html preview
-  Live, when you type html preview
-  Codehilite & markdown extra syntax support by default
-  Github syntax support
-  Github styles for rendering and codehilite
-  Scrollbars sync

Dependencies
  • Markdown
  • Pygments
  • Bottle
  • pymdown-extensions

Other usage examples


Launch editor without input file for testing :

.. code:: bash

    $ markdown_edit

Edit markdown file and save both markdown and html outputs :

.. code:: bash

    $ markdown_edit -f README.html README.md

Extensible
~~~~~~~~~~

You can import this script as a module to write your own applications
based on the markdown editor.

example :

.. code:: python

    from markdown_editor import web_edit
    from markdown_editor.editor import MarkdownDocument

    # ...

    MY_HTML_HEAD = 'Editor title'

    def action_send(document):

        send_markdown_text(document.text)
        # or
        send_raw_html_code(document.getHtml())
        # or
        send_html_with_styles(document.getHtmlPage())

        return html_to_display_as_result, keep_running_local_server

    if __name__ == '__main__:
        doc = MarkdownDocument()
        web_edit.start(doc,
            custom_actions=[
                    ('Send', action_send),
            ],
            title=MY_HTML_HEAD)

.. |Build Status| image:: https://travis-ci.org/ncornette/Python-Markdown-Editor.svg?branch=master
   :target: https://travis-ci.org/ncornette/Python-Markdown-Editor
.. |PyPI py versions| image:: https://img.shields.io/pypi/pyversions/Markdown-Editor.svg?maxAge=2592000
   :target: https://pypi.python.org/pypi/Markdown-Editor
.. |PyPI version| image:: https://img.shields.io/pypi/v/Markdown-Editor.svg?maxAge=2592000
   :target: https://pypi.python.org/pypi/Markdown-Editor
.. |Code quality| image:: https://api.codacy.com/project/badge/Grade/189b747c1f874f3090168cae42b35217
   :target: https://www.codacy.com/manual/nicolas-cornette/Python-Markdown-Editor?utm_source=github.com&utm_medium=referral&utm_content=ncornette/Python-Markdown-Editor&utm_campaign=Badge_Grade
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].