typst_syntax

Function split_newlines

source
pub fn split_newlines(text: &str) -> Vec<&str>
Expand description

Split text at newlines. These newline characters are not kept.