1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! HTML-tag translation for raw HTML embedded in markdown.
/// The fill color used for `<mark>` highlights translated from raw HTML.
/// Defaults to browser-conventional yellow (#FFFF00). HTML `style="..."`
/// attributes on `<mark>` are intentionally NOT parsed; the highlight color
/// is always this constant.
pub const MARK_COLOR: Color = Rgb ;
/// Maximum number of simultaneously-open HTML inline-style spans.
/// Beyond this depth, additional opens are silently ignored to bound
/// memory under adversarial or malformed input.
pub const MAX_HTML_STYLE_DEPTH: usize = 32;