|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
One rendered logical line produced by the Markdown parser. More...
#include <MarkdownModel.h>
Public Attributes | |
| const char * | text = nullptr |
| Span into source (not null-terminated). | |
| uint16_t | len = 0 |
| Span length in bytes. | |
| MdLineKind | kind = MdLineKind::Paragraph |
| uint8_t | font = mdfont::Builtin |
| One of mdfont. | |
| uint8_t | indent = 0 |
| Nesting depth (view multiplies by columns). | |
| bool | inverted = false |
| Inverse background (code). | |
One rendered logical line produced by the Markdown parser.
text is a non-owning span into the parsed source, so the source MUST outlive the model. Inline emphasis/links inside text are applied by the view at draw time; block-level markers are already stripped here.
Definition at line 43 of file MarkdownModel.h.
| uint8_t cdc::ui::StyledLine::font = mdfont::Builtin |
One of mdfont.
Definition at line 47 of file MarkdownModel.h.
Referenced by cdc::ui::MarkdownView::appendParsed(), and cdc::ui::parseMarkdown().
| uint8_t cdc::ui::StyledLine::indent = 0 |
Nesting depth (view multiplies by columns).
Definition at line 48 of file MarkdownModel.h.
Referenced by cdc::ui::MarkdownView::appendParsed(), and cdc::ui::parseMarkdown().
| bool cdc::ui::StyledLine::inverted = false |
Inverse background (code).
Definition at line 49 of file MarkdownModel.h.
Referenced by cdc::ui::MarkdownView::appendParsed(), and cdc::ui::parseMarkdown().
| MdLineKind cdc::ui::StyledLine::kind = MdLineKind::Paragraph |
Definition at line 46 of file MarkdownModel.h.
Referenced by cdc::ui::MarkdownView::appendParsed(), and cdc::ui::parseMarkdown().
| uint16_t cdc::ui::StyledLine::len = 0 |
Span length in bytes.
Definition at line 45 of file MarkdownModel.h.
Referenced by cdc::ui::MarkdownView::appendParsed(), and cdc::ui::parseMarkdown().
| const char* cdc::ui::StyledLine::text = nullptr |
Span into source (not null-terminated).
Definition at line 44 of file MarkdownModel.h.
Referenced by cdc::ui::MarkdownView::appendParsed(), and cdc::ui::parseMarkdown().