Back to Makepad

Markdown

examples/uizoo/resources/markdown.md

1.0.01.2 KB
Original Source

Markdown

A widget that renders Markdown-formatted text.

Attributes

  • body (String)
  • paragraph_spacing (float)
  • pre_code_spacing (float)
  • use_code_block_widget (bool)

Styling Attributes

  • font_size (float),
  • font_color (Color),
  • inline_code_margin (Size)
  • inline_code_padding (Size)
  • paragraph_spacing (float)
  • pre_code_spacing (float)

draw_normal

  • color (Color)
  • text_style (TextStyle)

draw_italic

  • color (Color)
  • text_style (TextStyle)

draw_bold

  • color (Color)
  • text_style (TextStyle)

draw_bold_italic

  • color (Color)
  • text_style (TextStyle)

draw_fixed

  • color (Color)
  • text_style (TextStyle)

draw_layout

  • align (Align)
  • clip_x (bool)
  • clip_y (bool)
  • flow (Flow)
  • padding (Padding)
  • scroll (Vec2f)
  • spacing (float)

quote_walk

  • width (Size)
  • height (Size)
  • margin (Margin)

list_item_layout

  • align (Align)
  • clip_x (bool)
  • clip_y (bool)
  • flow (Flow)
  • padding (Padding)
  • scroll (Vec2f)
  • spacing (float)

list_item_walk

  • width (Size)
  • height (Size)
  • margin (Margin)

sep_walk

  • width (Size)
  • height (Size)
  • margin (Margin)

draw_block

  • code_color (Color)
  • line_color (Color)
  • quote_bg_color (Color)
  • quote_fg_color (Color)
  • sep_color (Color)