Skip to main content

extract_block_references

Function extract_block_references 

Source
pub fn extract_block_references(body: &str) -> Vec<String>
Expand description

Names of content blocks referenced by body via the Liquid include syntax. Order is source-order; duplicates are preserved (callers dedupe as needed). Self-references are not filtered here — the caller has the surrounding context to decide.