gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.53k stars 318 forks source link

Link within heading doesn't render correctly #291

Closed csmac3144 closed 10 months ago

csmac3144 commented 10 months ago

Describe the bug A link within a heading line overrides the heading tag. Other markdown renderers allow the heading tag to modify the link text (see below)

Checklist

Steps to reproduce Create a line of text in SwiftUI iOS that starts with a heading tag, and includes a markdown link instead of plain text.

Latest News

Expected behavior "Latest News" rendered as a url link, but with heading styling as expected with ## (works here in Github)

Version information

csmac3144 commented 10 months ago

There has to be a space between ## and the link.