Skip to content
Discussion options

You must be logged in to vote

Which version of MarkdownUI are you using?

With MarkdownUI 2.x, you can achieve that by styling the Markdown view. For instance:

Markdown {
  "*This text is underlined and italicized!*"
}
.markdownTextStyle(\.emphasis) {
  FontStyle(.italic)
  UnderlineStyle(.single)
}

Check the docs and the Text Styles section in the demo project for more info 😉.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@metronome12
Comment options

Answer selected by gonzalezreal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants