From 1dec7922c35f909fb8ab2ccda721239cabc87b9c Mon Sep 17 00:00:00 2001 From: Paul Robello Date: Sun, 13 Jul 2025 19:56:15 -0500 Subject: [PATCH] Fix Markdown widget documentation reactive attributes Add missing reactive attributes table to markdown.md documentation: - code_dark_theme (str): theme for dark mode code blocks - code_light_theme (str): theme for light mode code blocks - code_indent_guides (bool): whether to show indent guides in code --- docs/widgets/markdown.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/widgets/markdown.md b/docs/widgets/markdown.md index b4bd53ba51..1e99575e6f 100644 --- a/docs/widgets/markdown.md +++ b/docs/widgets/markdown.md @@ -29,7 +29,11 @@ The following example displays Markdown from a string. ## Reactive Attributes -This widget has no reactive attributes. +| Name | Type | Default | Description | +|---------------------|--------|--------------------|---------------------------------------------------------| +| `code_dark_theme` | `str` | `"material"` | The theme to use for code blocks when the App theme is dark. | +| `code_light_theme` | `str` | `"material-light"` | The theme to use for code blocks when the App theme is light. | +| `code_indent_guides`| `bool` | `True` | Should code fences display indent guides? | ## Messages