Created
October 24, 2024 00:40
-
-
Save takoikatakotako/8c10d3436a37b1dd31b0ff3052513f2b to your computer and use it in GitHub Desktop.
マークダウンのリンクの色を赤色に変える
This file contains hidden or 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
| import SwiftUI | |
| struct ContentView: View { | |
| let markdownText: String = "**Snorlax** is the **most** cute pokemon!\n[About Snorlax](https://en.wikipedia.org/wiki/Snorlax)" | |
| var body: some View { | |
| Text(LocalizedStringKey(markdownText)) | |
| .tint(Color.red) | |
| } | |
| } | |
| #Preview { | |
| ContentView() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment