Standalone editor for your markdown files
Project description
Standalone editor for your local markdown files
Installation
To install the latest stable version from Pypi :
$ pip install markdown-editor
Usage
$ markdown_edit README.md
It will open the editor in your browser :
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
Other usage examples
Launch editor without input file for testing :
$ markdown_edit
Edit markdown file and save both markdown and html outputs :
$ 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 :
import markdown_edit
# ...
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__:
markdown_edit.web_edit(
actions =
[
('Send',action_send),
],
title = MY_HTML_HEAD)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Markdown-Editor-0.9.5.tar.gz
(533.3 kB
view hashes)
Built Distribution
Close
Hashes for Markdown_Editor-0.9.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c691c8ed717e0c5c7a77d5213595d26c28fb52bce316e2aeee90381442163102 |
|
MD5 | 03528df2ab4acb2d3642c5a9f6624cc4 |
|
BLAKE2b-256 | 2d23c17148b497e7d933c4d2a7ad7b1919c1ea1fb344ec9f5377890047b31b36 |