-
-
Save laevandus/0bce4eec71882f10a69890c85c869b87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let string = AttributedString(localized: "This contains my ^[message](secretMessage: {id: 'message_id', value: 'Hello!'}) attribute in markdown", including: \.myApp) | |
// print(string.runs) | |
// This contains my { | |
// NSPresentationIntent = [paragraph (id 1)] | |
// NSLanguage = en | |
// } | |
// message { | |
// NSLanguage = en | |
// NSPresentationIntent = [paragraph (id 1)] | |
// secretMessage = Message(id: "message_id", value: "Hello!") | |
// } | |
// attribute in markdown { | |
// NSLanguage = en | |
// NSPresentationIntent = [paragraph (id 1)] | |
// } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment