### Simple example
rock::prepend_ids_to_source(
"brief\nexample\nsource"
);
### Example including fake YAML fragments
longerExampleText <-
c(
"---",
"First YAML fragment",
"---",
"So this is an utterance (i.e. outside of YAML)",
"This, too.",
"---",
"Second fragment",
"---",
"Another real utterance outside of YAML",
"Another one outside",
"Last 'real utterance'"
);
rock::prepend_ids_to_source(
longerExampleText
);
Run the code above in your browser using DataLab