mirror of https://github.com/helix-editor/helix
docs: add informational comments
parent
01b8493e74
commit
443d2c8435
|
@ -72,6 +72,8 @@ pub fn highlighted_code_block<'a>(
|
||||||
Box::new(highlight_iter)
|
Box::new(highlight_iter)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Apply custom rendering rules to Helix code blocks.
|
||||||
|
// These render selections as if in the real editor.
|
||||||
if language == "helix" {
|
if language == "helix" {
|
||||||
let (text, selections) = print(text);
|
let (text, selections) = print(text);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue