gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.24k stars 266 forks source link

Link within heading doesn't render correctly #291

Closed csmac3144 closed 5 months ago

csmac3144 commented 5 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 5 months ago

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