A Python based Markdown editor with HTML preview
Project description
PyMD Editor
A standalone and embeddable Python based Markdown editor with HTML preview.
Explore the docs »
PyPi
·
Report Bug
·
Request Feature
Table of Contents
About The Project
A standalone and embeddable Python based Markdown editor with HTML preview.
Built With
Getting Started
Installation
To get a local copy up and running choose one of the below install instructions and follow the steps provided.
Install With PIP
The simplest way to install the PyMD Editor is to use pip
:
pip install pymd-editor
Install From Source
Alternatively you can install from source by following the steps below:
- Clone the repo:
git clone https://github.com/hreikin/pymd-editor.git cd pymd-editor/
- Create and source a Python virtual environment:
python3 -m venv .venv source .venv/bin/activate
- Install requirements with
pip
:pip install -r requirements.txt
Usage
Standalone
To start the standalone editor simply run the following:
python3 -m pymd_editor
Embedded
To use the ttkbootstrap
styled EditorFrame
in one of your own python scripts:
from pymd_editor.pymd_editor_frame import EditorFrame
import tkinter as tk
import ttkbootstrap as ttk
from ttkbootstrap.constants import *
root = ttk.Window(themename="darkly")
app = EditorFrame(root)
app.pack(fill="both", expand=1)
app.mainloop()
Roadmap
See the open issues for a full list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE.txt
for more information.
Contact
Github Link: https://github.com/hreikin/pymd-editor
PyPi Link: https://pypi.org/project/pymd-editor/
Documentation: https://hreikin.github.io/pymd-editor/
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
Built Distribution
File details
Details for the file pymd-editor-0.0.4.tar.gz
.
File metadata
- Download URL: pymd-editor-0.0.4.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d9b6a8ce17b485a8eb2da62775ddf20aa87de77a13c65607eb67aac3f28c359 |
|
MD5 | fb88acd4dc804d06abc3655d9da7ec41 |
|
BLAKE2b-256 | 1d87a1e9b97341cf665f98d96496832255da6d8c3022f8eeee86350fd3d32e5f |
File details
Details for the file pymd_editor-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: pymd_editor-0.0.4-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 013a21067fe40895d1b3cf9b7dbc30336e7bf64cf7e5d05e94b6f34e22f1af6e |
|
MD5 | ee18319d5b4b1a406fb29e124ff6ea69 |
|
BLAKE2b-256 | aed655c12c031b62f65b41282a12ee1ae592e28828dc38fc0e6e031f27441da4 |