glamour library
Glamour Markdown Rendering for Dart.
This library provides a high-fidelity Markdown renderer mirroring the capabilities of Charm's Glamour project.
Note: This is separate from markdown.dart which provides a lighter-weight
ANSI renderer.
Classes
- GlamourBlockContext
- Tracks rendering state for a block-level markdown element.
- GlamourBlockStyle
-
Represents
StyleBlockin glamour. - GlamourCodeBlockStyle
-
Represents
StyleCodeBlockin glamour. - GlamourListStyle
-
Represents
StyleListin glamour. - GlamourPrimitiveStyle
-
Represents
StylePrimitivein glamour. - GlamourRenderer
- Renders markdown to ANSI using the Glamour theme system.
- GlamourTableStyle
-
Represents
StyleTablein glamour. - GlamourTaskStyle
-
Represents
StyleTaskin glamour. - GlamourTheme
- Configuration for Glamour markdown rendering.
Functions
-
renderStyle(
String markdown, {required GlamourTheme theme, int width = 80}) → String -
Renders
markdowntext using the specifiedtheme.