Last active
March 8, 2024 03:32
-
-
Save keisukeYamagishi/9254688138c0d0872c0b7f82e607bb61 to your computer and use it in GitHub Desktop.
Markdown-SwiftUI
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
import SwiftUI | |
struct ContentView: View { | |
var body: some View { | |
VStack { | |
Image(systemName: "globe") | |
.imageScale(.large) | |
.foregroundStyle(.tint) | |
Text("Hello, world!") | |
Text("`Hello, world!`") | |
Text("~~Hello, world!~~") | |
Text("**Hello, world!**") | |
Text("***Hello, world!***") | |
Text("[https://google.com](https://google.com)") | |
} | |
.padding() | |
} | |
} | |
#Preview { | |
ContentView() | |
} |
Author
keisukeYamagishi
commented
Mar 8, 2024
Code | Preview |
---|---|
![]() |
![]() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment