Skip to main content

MarkdownStyleSheet

MarkdownStyleSheet has the following properties:

a_text_style

The text style for a elements.

Value is of type TextStyle.

block_spacing

The amount of vertical space to use between block-level elements.

Value is of type float and defaults to 8.0.

blockquote_alignment

The alignment to use for blockquote elements.

Value is of type MainAxisAlignment and defaults to MainAxisAlignment.START.

blockquote_decoration

The decoration to use for blockquote elements.

Value is of type BoxDecoration.

blockquote_padding

The padding to use for blockquote elements.

Value is of type Padding.

blockquote_text_style

Value is of type TextStyle.

codeblock_alignment

The alignment to use for a code block.

Value is of type MainAxisAlignment and defaults to MainAxisAlignment.START.

codeblock_decoration

The decoration to use behind for pre elements.

Value is of type BoxDecoration.

codeblock_padding

The padding to use for pre elements.

Value is of type Padding.

checkbox_text_style

The text style for checkbox elements.

Value is of type TextStyle.

code_text_style

The text style for code elements.

Value is of type TextStyle.

del_text_style

The text style for del elements.

Value is of type TextStyle.

em_text_style

The text style for em elements.

Value is of type TextStyle.

h1_alignment

The alignment to use for h1 elements.

Value is of type MainAxisAlignment and defaults to MainAxisAlignment.START.

h2_alignment

The alignment to use for h2 elements.

Value is of type MainAxisAlignment and defaults to MainAxisAlignment.START.

h3_alignment

The alignment to use for h3 elements.

Value is of type MainAxisAlignment and defaults to MainAxisAlignment.START.

h4_alignment

The alignment to use for h4 elements.

Value is of type MainAxisAlignment and defaults to MainAxisAlignment.START.

h5_alignment

The alignment to use for h5 elements.

Value is of type MainAxisAlignment and defaults to MainAxisAlignment.START.

h6_alignment

The alignment to use for h6 elements.

Value is of type MainAxisAlignment and defaults to MainAxisAlignment.START.

h1_padding

The padding to use for h1 elements.

Value is of type Padding.

h2_padding

The padding to use for h2 elements.

Value is of type Padding.

h3_padding

The padding to use for h3 elements.

Value is of type Padding.

h4_padding

The padding to use for h4 elements.

Value is of type Padding.

h5_padding

The padding to use for h5 elements.

Value is of type Padding.

h6_padding

The padding to use for h6 elements.

Value is of type Padding.

h1_text_style

The text style for h1 elements.

Value is of type TextStyle.

h2_text_style

The text style for h2 elements.

Value is of type TextStyle.

h3_text_style

The text style for h3 elements.

Value is of type TextStyle.

h4_text_style

The text style for h4 elements.

Value is of type TextStyle.

h5_text_style

The text style for h5 elements.

Value is of type TextStyle.

h6_text_style

The text style for h6 elements.

Value is of type TextStyle.

horizontal_rule_decoration

The decoration to use for hr elements.

Value is of type BoxDecoration.

img_text_style

The text style for img elements.

Value is of type TextStyle.

list_indent

The amount of indentation to use for list items.

Value is of type float and defaults to 24.0.

list_bullet_text_style

The text style for bullets.

Value is of type TextStyle.

list_bullet_padding

The padding to use for bullets.

Value is of type Padding.

ordered_list_alignment

The alignment to use for an ordered list.

Value is of type MainAxisAlignment and defaults to MainAxisAlignment.START.

p_padding

The padding to use for p elements.

Value is of type Padding.

p_text_style

The text style for p elements.

Value is of type TextStyle.

strong_text_style

The text style for strong elements.

Value is of type TextStyle.

table_head_text_style

The text style for th elements.

Value is of type TextStyle.

table_body_text_style

The text style for td elements.

Value is of type TextStyle.

table_head_text_align

The text alignment to use for th elements.

Value is of type TextAlign and defaults to TextAlign.CENTER.

table_padding

The padding to use for table elements.

Value is of type Padding.

table_cells_padding

The padding to use for td and th elements.

Value is of type Padding.

table_cells_decoration

The decoration to use for td and th elements.

Value is of type BoxDecoration.

text_align

The alignment to use for normal text.

Value is of type MainAxisAlignment and defaults to MainAxisAlignment.START.

unordered_list_alignment

The alignment to use for an unordered list.

Value is of type MainAxisAlignment and defaults to MainAxisAlignment.START.