Swift source code to accompany the article on SwiftUI on macOS: text, rich text, markdown, html and PDF views.
HTML
Trying to display formatted text in plain text, markdown, rich text, HTML, and PDF using SwiftUI and in AppKit/WebKit views within SwiftUI.
What’s the difference between plain text, marked-up plain text, and rich text? How can I tell them apart, and how do they work?
How should you keep copies of web pages: HTML source, Webarchive, or PDF? Which is the better way to make PDFs in Safari? And what about archive copies?
Customising WordPress to lay out source code turned into HTML by Codye.
Why should anyone still want to work with email messages in text? Here’s why, and how you can benefit too.
Emoji are no longer the only characters which come in full colour: OpenType-SVG fonts are now available in full colour too, and simple to use in macOS 10.14 and iOS 12.
This Rich Text editor now opens and saves RTF, plain text, HTML, and PDF, in which it preserves as much text styling as possible.
Version 1.1 supports three file formats, but working with HTML is not easy, as it cannot (yet) support bimodal text.
Dark Mode isn’t in the least bit simple. Some “Apps that look great in Dark Mode” still dazzle with brilliant white views. But the problems are worst with websites – for the time being.