use super::macros::intermediate; use crate::error::CustomError; #[derive(Debug, Clone)] pub(crate) struct ICode { pub(crate) contents: String, } intermediate!(ICode, Code, original, _registry, { Ok(ICode { // TODO: Should this coalesce whitespace like PlainText? contents: original.contents.to_owned(), }) });