bug: no links in header
Ushie opened this issue · comments
Ushie commented
About this issue
- Briefly describe the issue:
Links can't be used in Headers
- How can the issue be reproduced / sample code
val markdown = """
# [This doesnt work](https://github.com/)
[This works](https://github.com/)""".trimIndent()
Markdown(
content = markdown,
colors = markdownColor(
text = MaterialTheme.colorScheme.onSurfaceVariant,
codeBackground = MaterialTheme.colorScheme.secondaryContainer,
codeText = MaterialTheme.colorScheme.onSecondaryContainer
),
typography = markdownTypography(
h1 = MaterialTheme.typography.headlineSmall.copy(fontWeight = FontWeight.Bold),
h2 = MaterialTheme.typography.titleLarge.copy(fontWeight = FontWeight.Bold),
h3 = MaterialTheme.typography.titleMedium.copy(fontWeight = FontWeight.Bold),
text = MaterialTheme.typography.bodyMedium,
list = MaterialTheme.typography.bodyMedium
)
)
Details
- v0.8.0
- Android
Checklist
- Searched for similar issues
- Checked out the sample application
- Read the README
- Checked out the CHANGELOG
- Read the FAQ
- Checked out the MIGRATION GUIDE
Mike Penz commented
Thank you very much for the report. Will look into this as soon as I have time