pub fn custom_format_to_resource( input: String, format: CustomFormat, ) -> Result<Vec<Resource>, String>
Convert a custom format to a Resource that can then be processed by the lib crate.