Back to articles
Show HN: A WYSIWYG word processor in Python
How-ToTools

Show HN: A WYSIWYG word processor in Python

via Hacker Newschrisecker

Hi all, Finding a good data structure for a word processor is a difficult problem. My notebook diaries on the problem go back 25 years when I was frustrated with using Word for my diploma thesis - it was slow and unstable at that time. I ended up getting pretty hooked on the problem. Right now I’m taking a professional break and decided to finally use the time to push these ideas further, and build MiniWord — a WYSIWYG word processor in Python. My goal is to have a native, non-HTML-based editor that stays simple, fast, and is hackable. So far I am focusing on getting the fundamentals right. What is working yet is: - Real WYSIWYG editing (no HTML layer, no embedded browser) with styles, images and tables. - Clean, simple file format (human-readable, diff-friendly, git-friendly, AI-friendly) - Markdown support - Support for Python-plugins Things that I found: - B-tree structures are perfect for holding rich text data - A simple text-based file format is incredibly useful — you can diff d

Continue reading on Hacker News

Opens in a new tab

Read Full Article
2 views

Related Articles