Mlem
Mlem copied to clipboard
Markdown Enhancement
Introduction
Everything on Lemmy is done with the Lemmydown dialect of Markdown. We currently have a functional Lemmydown renderer, but our integration of Markdown into the app is currently limited to simply rendering text posts.
Opening this issue as a knock-on of a conversation on the Matrix to ensure the ideas don't get lost. Very low priority issue, probably overlaps #100
Requirements
- Evaluate and architect Markdown framework
- Markdown features in comment and (whenever we implement it) post editor--most luxurious option here is real-time styling of input, but that's hard
- Clean up weird Markdown artifacts (e.g., background of text is a solid color--makes context menus ugly)
Discussion
Christian Selig open sourced his Markdown parser--it's written in UIKit instead of SwiftUI, but it can (a) be hacked into working in this project and (b) could be a valuable source of information. Unfortunately there's no info on how his post editor works :(