---
title: "Discussion on \"3 surprises when using Markdown in SwiftUI\" | Hashnode"
description: "Discussion on \"3 surprises when using Markdown in SwiftUI\". SwiftUI in iOS 15 uses GitHub Flavored Markdown. Tips for using a Text view with non string literals or an AttributedString with line breaks"
url: "https://hashnode.com/posts/3-surprises-when-using-markdown-in-swiftui/6203e41b9e350308247fb8c9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [3 surprises when using Markdown in SwiftUI](https://blog.eidinger.info/3-surprises-when-using-markdown-in-swiftui?utm_source=hashnode&utm_medium=feed)

SwiftUI in iOS 15 uses GitHub Flavored Markdown. Tips for using a Text view with non string literals or an AttributedString with line breaks

Feb 9, 2022 · 2 min read · blog.eidinger.info  
Read the article

-   [#ios](https://hashnode.com/tag/ios)
-   [#swift](https://hashnode.com/tag/swift)

## Written by

[Marco Eidinger](https://hashnode.com/@MarcoEidinger)

@MarcoEidinger

  
[View profile](https://hashnode.com/@MarcoEidinger)

#Swift #iOS SDK architect 🇺🇸 🇩🇪

I am a Software Engineer working on open source and enterprise mobile SDKs for iOS and MacOS developers written in Swift. From 🇩🇪 and happily living in 🇺🇸

## Responses 2

Markdown supported · ⌘↵ to post

[老房东](https://hashnode.com/@hdcola)

[Feb 15, 2022](https://hashnode.com/posts/3-surprises-when-using-markdown-in-swiftui/6203e41b9e350308247fb8c9/comment/620ba0c0dcdf3321c2e04b86)

swift-markdown I wonder if the syntax of table is supported?

[Clément Cardonnel](https://hashnode.com/@Pomme2Poule)

[Feb 13, 2022](https://hashnode.com/posts/3-surprises-when-using-markdown-in-swiftui/6203e41b9e350308247fb8c9/comment/6208be6185b93114aeba4bdd)

What about headings such as #, ##, ###, etc. Are those supported? I never managed to get them to work. 😕

Thanks for the great article. It helps with many gotchas.
