Skip to main content

Standalone editor for your markdown files

Project description

Python-Markdown-Editor
======================

[![Build Status](https://travis-ci.org/ncornette/Python-Markdown-Editor.svg?branch=master)](https://travis-ci.org/ncornette/Python-Markdown-Editor)

Standalone editor for your markdown files

### 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

![screenshot](https://github.com/ncornette/Python-Markdown-Editor/raw/master/screenshot.png)

### Dependencies
- Python-Markdown

### Usage

Launch editor for testing :
```bash
$ markdown_edit.py
```

Edit existing markdown file for preview :
```bash
$ markdown_edit.py readme.md
```

Edit existing markdown file and save html output file :
```bash
$ markdown_edit.py -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 :

```python
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


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.2.tar.gz (532.8 kB view details)

Uploaded Source

Built Distributions

Markdown_Editor-0.9.2-py3-none-any.whl (542.4 kB view details)

Uploaded Python 3

Markdown_Editor-0.9.2-py2.py3-none-any.whl (542.3 kB view details)

Uploaded Python 2 Python 3

Markdown_Editor-0.9.2-py2-none-any.whl (542.3 kB view details)

Uploaded Python 2

File details

Details for the file Markdown-Editor-0.9.2.tar.gz.

File metadata

File hashes

Hashes for Markdown-Editor-0.9.2.tar.gz
Algorithm Hash digest
SHA256 e99bad1046165f56d516ecb63ea2638bfb4678fc971aaea100f1ba0a3cbb4bad
MD5 62959f6af7612a9e6ca6f6ba31a2c95c
BLAKE2b-256 c328a22c529d5fb48eb31c5f73c6aae1caca4063f7a5733d1a585bfdd2558eca

See more details on using hashes here.

Provenance

File details

Details for the file Markdown_Editor-0.9.2-py3-none-any.whl.

File metadata

File hashes

Hashes for Markdown_Editor-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 438b55e2e8299103a249587f3f0c9dff5e9c0f5788fa63a258cb23994cd79a61
MD5 bbb3c5578274266e577143fac9b8505e
BLAKE2b-256 2ac1c9bf3c2a61f461c4e323da643e07cd6aad959d196b0ceaeadb08c0cb7b03

See more details on using hashes here.

Provenance

File details

Details for the file Markdown_Editor-0.9.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for Markdown_Editor-0.9.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e4f5251b8b136499e6b03f49784715c84372ef88710502cdb439932cddef9bb9
MD5 3324f359aa6a3a8efb2e7cf67c43e471
BLAKE2b-256 17c1e77050a7635630bde41f93dd984510741fd01cd86421dd5eb92a61c376d6

See more details on using hashes here.

Provenance

File details

Details for the file Markdown_Editor-0.9.2-py2-none-any.whl.

File metadata

File hashes

Hashes for Markdown_Editor-0.9.2-py2-none-any.whl
Algorithm Hash digest
SHA256 9a1609a2e521afa537a9665297b2e9806b167e2188781d9d2d66d4c009b57577
MD5 097202b7cafd8b0bd43f9bffe2f3f81a
BLAKE2b-256 03c78402d47b4cab216699da92a90ae74ca91ae48d60bae6580355abced2ddc6

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page