Skip to content

Commit

Permalink
Keep Markdown rendered lists within dataframe cells (#5878)
Browse files Browse the repository at this point in the history
* df bullets

* keep bullets inside dataframe columns

* don't apply to chatbot

* added ols

* add changeset

* fix white space a

* add changeset

* revert change

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
abidlabs and gradio-pr-bot committed Oct 12, 2023
1 parent c07207e commit fbce277
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/tidy-horses-build.md
@@ -0,0 +1,6 @@
---
"@gradio/markdown": patch
"gradio": patch
---

fix:Keep Markdown rendered lists within dataframe cells
8 changes: 8 additions & 0 deletions js/markdown/static/MarkdownCode.svelte
Expand Up @@ -111,4 +111,12 @@
span :global(pre) {
position: relative;
}
span:not(.chatbot) :global(ul) {
list-style-position: inside;
}
span:not(.chatbot) :global(ol) {
list-style-position: inside;
}
</style>
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fbce277

Please sign in to comment.