Skip to content

Instantly share code, notes, and snippets.

@keisukeYamagishi
Last active March 8, 2024 03:32
Show Gist options
  • Save keisukeYamagishi/9254688138c0d0872c0b7f82e607bb61 to your computer and use it in GitHub Desktop.
Save keisukeYamagishi/9254688138c0d0872c0b7f82e607bb61 to your computer and use it in GitHub Desktop.
Markdown-SwiftUI
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()
}
@keisukeYamagishi
Copy link
Author

Code Preview
carbon (1) Simulator Screenshot - iPhone 15 Pro - 2024-03-08 at 12 30 19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment