RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
rmgui_richtext_markdown_options_t Struct Reference

Opt-in grammar for rmgui_richtext_markdown_mapped_ex. More...

#include <richtext.h>

Data Fields

unsigned flags
int max_heading

Detailed Description

Opt-in grammar for rmgui_richtext_markdown_mapped_ex.

A zero value, or a NULL pointer, is exactly the default grammar of rmgui_richtext_markdown_mapped; nothing here changes that default. flags holds only the RMGUI_RICHTEXT_MARKDOWN_* bits below; any other bit refuses. The flags are independent and may be combined.

rmgui_richtext_markdown_options_t.max_heading

The deepest heading level, 1 to 6; zero means 6. A line whose # run is longer than this, or whose # run is not followed by one ASCII space, is ordinary text and keeps its # bytes. A value outside 0 to 6 refuses.

Field Documentation

◆ flags

unsigned rmgui_richtext_markdown_options_t::flags

◆ max_heading

int rmgui_richtext_markdown_options_t::max_heading

The documentation for this struct was generated from the following file: