Markdown.Prop Type

• className (string) - Class name of the container element • dangerously_allow_html (boolean; default false) - A boolean to control raw HTML escaping. Setting HTML from code is risky because it's easy to inadvertently expose your users to a cross-site scripting (XSS) (https://en.wikipedia.org/wiki/Cross-site_scripting) attack. • children (string | list with values of type: string) - A markdown string (or array of strings) that adhreres to the CommonMark spec • dedent (boolean; default true) - Remove matching leading whitespace from all lines. Lines that are empty, or contain *only* whitespace, are ignored. Both spaces and tab characters are removed, but only if they match; we will not convert tabs to spaces or vice versa. • highlight_config (record with the field: 'theme: value equal to: 'dark', 'light' (optional)'; default {}) - Config options for syntax highlighting. gg/ • loading_state (record with the fields: 'is_loading: boolean (optional)', 'prop_name: string (optional)', 'component_name: string (optional)') - Object that holds the loading state object coming from dash-renderer • style (record) - User-defined inline styles for the rendered Markdown

Union cases

Union case Description

ClassName string

Full Usage: ClassName string

Parameters:
    Item : string

Item : string

DangerouslyAllowHtml bool

Full Usage: DangerouslyAllowHtml bool

Parameters:
    Item : bool

Item : bool

Dedent bool

Full Usage: Dedent bool

Parameters:
    Item : bool

Item : bool

HighlightConfig HighlightConfig

Full Usage: HighlightConfig HighlightConfig

Parameters:
Item : HighlightConfig

LoadingState LoadingState

Full Usage: LoadingState LoadingState

Parameters:
Item : LoadingState
Item : DashComponentStyle

Static members

Static member Description

Prop.toDynamicMemberDef prop

Full Usage: Prop.toDynamicMemberDef prop

Parameters:
Returns: string * obj
prop : Prop
Returns: string * obj