mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-31 12:20:26 +08:00
Fixes gr.Markdown() does not render spaces around links correctly (#7361)
* fix * remove console * add changeset * fix * storybook --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
parent
bb4126cc24
commit
17fb116492
6
.changeset/chatty-lizards-share.md
Normal file
6
.changeset/chatty-lizards-share.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"@gradio/markdown": patch
|
||||
"gradio": patch
|
||||
---
|
||||
|
||||
fix:Fixes gr.Markdown() does not render spaces around links correctly
|
@ -62,3 +62,11 @@ in two separate lines.`
|
||||
latex_delimiters: [{ left: "$", right: "$", display: false }]
|
||||
}}
|
||||
/>
|
||||
|
||||
<Story
|
||||
name="Markdown with header links"
|
||||
args={{
|
||||
value: "# Visit [Gradio](https://gradio.app) for more information",
|
||||
header_links: true
|
||||
}}
|
||||
/>
|
||||
|
@ -169,5 +169,6 @@
|
||||
span :global(h6) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
white-space-collapse: break-spaces;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user