Markup Editor
Project description
MEdit - Previewing [M]arkup [Editor]
A simple text editor based on PyQt6/QScintilla with the following goals in mind:
- Auto-saves and tracks filesystem in order to make loading/saving obsolete
- Syntax highlighting for typical file formats
- Previewing markdown or representations in other file formats
- Support for local and remote images in Markdown/reST
- Decent nice looking interface for easily distractable people like me
As almost all of my projects, medit
is in dangerous alpha state - use it with
care and don't believe anything written here.
Installation
[<PYTHON> -m] pip[3] install [--upgrade] medit
Usage
medit [<PATH>] # will open medit in given directory or on given file
Development & Contribution
pip3 install -U poetry pre-commit
git clone --recurse-submodules https://projects.om-office.de/frans/pocketrockit.git
cd pocketrockit
pre-commit install
# if you need a specific version of Python inside your dev environment
poetry env use ~/.pyenv/versions/3.10.4/bin/python3
poetry install
After modifications, this way a newly built wheel can be checked and installed:
poetry build
poetry run twine check dist/medit-0.0.5-py3-none-any.whl
python3 -m pip install --user --upgrade dist/medit-0.0.5-py3-none-any.whl
My personal MLP (v1.0) goals
- File to title
- File viewer for Plain, Python, YAML, JSON, ..
- Autosave
- Manage word wrap in editor
- Autoload
- Multi-File Undo/Redo
- Change into / step up current directory
- Zen mode
- Recent files
- Search/open files
- Search in files
- Preview for previewable only
- Hightlight todo.txt
- Notify external file changes
- (Re-)store zoom and fullscreen
- File ignore filter
- Icon / .desktop file
- Proper Qt style
- Show local images
- Show remote images
- Slim file / folder create / rename
- Proper View CSS selector
- View follows editor
- Links clickable
- Fix Links to support
(text)[url]
syntax
Feature ideas
- Export to Pdf / Html / Docx ..
- Copy / paste images
- Drag & drop images
- Spell checker
- Script console with preview
- Preview rules (markdown->HTML, xml/json/yaml -> xml/json/yaml ..)
Read
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
medit-0.0.7.tar.gz
(33.7 kB
view hashes)
Built Distribution
medit-0.0.7-py3-none-any.whl
(41.4 kB
view hashes)