pub fn preprocess(content: &str, registry: &Registry) -> String
Pre-processes a snippet by expanding @insert and @extend directives.