Skip to main content

Crate mdsee_render

Crate mdsee_render 

Source
Expand description

mdsee-render(design.md §5)。

Layout TreeからANSI / plain textを生成する。

Structs§

AlertTheme
Alert種別ごとのstyle(§61)。
HighlightedLine
highlight済みの1行。
HighlightedSpan
highlight済みの1区切り。色はsyntect theme由来。
NoHighlight
highlightを行わない実装。feature syntax 無効時のfallback。
RenderOptions
Render options。
SyntectHighlighter
syntect backendの SyntectHighlighter(§29)。
TextStyle
テキストの表示属性。§61の TextStyle
Theme
Theme(§61)。

Enums§

RenderError
Render error(§66)。

Traits§

SyntaxHighlighter
syntax highlight interface(§29)。

Functions§

render
LayoutDocumentをtargetへ書き出す(§100 基本pipeline)。
select_auto_theme
auto themeの解決(§62)。