mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
Fix Chatbot, Dataframe, Markdown custom components (#8339)
* Add code * add changeset * ts ignore * Add code --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
35905c5c8f
commit
4dc7fa7cd7
6
.changeset/tall-suits-train.md
Normal file
6
.changeset/tall-suits-train.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"@gradio/markdown": patch
|
||||
"gradio": patch
|
||||
---
|
||||
|
||||
fix:Fix Chatbot, Dataframe, Markdown custom components
|
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { afterUpdate, createEventDispatcher } from "svelte";
|
||||
import DOMPurify from "dompurify";
|
||||
import render_math_in_element from "katex/dist/contrib/auto-render.js";
|
||||
import render_math_in_element from "katex/contrib/auto-render";
|
||||
import "katex/dist/katex.min.css";
|
||||
import { create_marked } from "./utils";
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { type Renderer, Marked } from "marked";
|
||||
import { markedHighlight } from "marked-highlight";
|
||||
import { gfmHeadingId } from "marked-gfm-heading-id";
|
||||
import Prism from "prismjs";
|
||||
import * as Prism from "prismjs";
|
||||
import "prismjs/components/prism-python";
|
||||
import "prismjs/components/prism-latex";
|
||||
import "prismjs/components/prism-bash";
|
||||
|
Loading…
Reference in New Issue
Block a user