Skip to content

Add public.utf8-plain-text to Markdown types#1535

Merged
cyanzhong merged 1 commit into
mainfrom
develop
Jul 11, 2026
Merged

Add public.utf8-plain-text to Markdown types#1535
cyanzhong merged 1 commit into
mainfrom
develop

Conversation

@cyanzhong

Copy link
Copy Markdown
Contributor

In macOS Golden Gate, Apple added UTTypeMarkdown as an official type and decided to let it conforms to UTTypeUTF8PlainText.

https://developer.apple.com/documentation/uniformtypeidentifiers/uttype-swift.struct/markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates MarkEdit’s declared Markdown UTIs to reflect Apple’s newer type hierarchy where Markdown conforms to UTF-8 plain text, improving interoperability with system features that reason about text encodings.

Changes:

  • Add public.utf8-plain-text to the UTTypeConformsTo arrays for the app’s imported/exported Markdown type declarations.
  • Keep existing public.plain-text conformance intact while broadening conformance metadata for Markdown UTIs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cyanzhong cyanzhong merged commit e623f6f into main Jul 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants