gradio/js/markdown
pngwn dfd03f38bd
chore: update versions (#8069)
* chore: update versions

* Revert @gradio/code

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2024-04-25 23:08:27 +00:00
..
shared Restore Markdown formatting for Chatbots, MarkdownCode (#7936) 2024-04-04 15:04:46 -07:00
CHANGELOG.md chore: update versions (#8069) 2024-04-25 23:08:27 +00:00
Example.svelte Handle the case where examples is null for all components (#7192) 2024-01-29 16:51:22 -08:00
Index.svelte Add max_file_size parameter to launch() that limits the size of files that can be uploaded in the Gradio app (#7909) 2024-04-19 15:38:53 -04:00
Markdown.stories.svelte Fixes gr.Markdown() does not render spaces around links correctly (#7361) 2024-02-11 13:16:50 -05:00
Markdown.test.ts Fixes: Chatbot crashes when given empty url following http:// or https:// (#7138) 2024-01-24 23:01:38 -05:00
package.json chore: update versions (#8069) 2024-04-25 23:08:27 +00:00
README.md

@gradio/markdown

<script>
    import { BaseMarkdown, MarkdownCode, BaseExample } from `@gradio/markdown`;
</script>

BaseMarkdown

	export let elem_id = "";
	export let elem_classes: string[] = [];
	export let visible = true;
	export let value: string;
	export let min_height = false;
	export let rtl = false;
	export let sanitize_html = true;
	export let line_breaks = false;
	export let latex_delimiters: {
		left: string;
		right: string;
		display: boolean;
	}[];

MarkdownCode

	export let chatbot = true;
	export let message: string;
	export let sanitize_html = true;
	export let latex_delimiters: {
		left: string;
		right: string;
		display: boolean;
	}[] = [];
	export let render_markdown = true;
	export let line_breaks = true;

BaseExample

	export let value: string;
	export let type: "gallery" | "table";
	export let selected = false;
	export let sanitize_html: boolean;
	export let line_breaks: boolean;
	export let latex_delimiters: {
		left: string;
		right: string;
		display: boolean;
	}[];