A Python based Markdown editor with HTML preview
Project description
tkintermd
A Markdown editor with HTML preview for use in tkinter projects.
About The Project
An embeddable tkinter based Markdown editor with HTML preview. The editor has
syntax highlighting provided by Pygments
and the HTML preview window is
provided by tkinterweb
.
- Github v0.1.0 Project: Github Project - tkintermd v0.1.0
- Github Discussion: Github Discussions
- PyPi Link: https://pypi.org/project/tkintermd/
- PDF Documentation: https://hreikin.github.io/tkintermd/pdf/tkintermd-documentation-LATEST.pdf
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 tkintermd
is to use pip
:
pip install tkintermd
Install From Source
Alternatively you can install from source by following the steps below:
-
Clone the repo:
git clone https://github.com/hreikin/tkintermd.git cd tkintermd/
-
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
Embedded
To use the TkintermdFrame
in one of your own python scripts:
from tkintermd.frame import TkintermdFrame
import tkinter as tk
from tkinter.constants import *
root = tk.Tk()
app = TkintermdFrame(root)
app.pack(fill="both", expand=1)
app.mainloop()
For more examples, please refer to the Documentation
Roadmap
Check out the Github Project - tkintermd v0.1.0 for an overview of the work being done towards the release. 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/tkintermd
PyPi Link: https://pypi.org/project/tkintermd/
Documentation: https://hreikin.github.io/tkintermd/
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 tkintermd-0.0.6.tar.gz
.
File metadata
- Download URL: tkintermd-0.0.6.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a56f950c6c7a3f541260ce06bbbfdb1a627ef8ee50ecdc1160a34ea40f5a7e0c |
|
MD5 | 7605a41707938b5aaf6bfd2d5adaf1db |
|
BLAKE2b-256 | 79749884f397360dfd6ec7ec608f18ee336347f4ff8ab8f137ecb030f61760e6 |
File details
Details for the file tkintermd-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: tkintermd-0.0.6-py3-none-any.whl
- Upload date:
- Size: 15.1 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 | 2ca4e5484b15616e477967ae4ae2911e7cb4c37416b59b6bbedd1befb6a8d690 |
|
MD5 | 252aee8b85ea30d213d80b6810d81633 |
|
BLAKE2b-256 | ece287300609a6a2906455f4b4761bb6faca6bbd0f72690a39866b54b86f5fdc |