Implement the export snippet parser.

This commit is contained in:
Tom Alexander
2023-07-19 00:37:51 -04:00
parent 1fb8ce9af6
commit 95e033a99b
4 changed files with 64 additions and 7 deletions

View File

@@ -114,7 +114,7 @@ pub struct LatexFragment<'s> {
pub struct ExportSnippet<'s> {
pub source: &'s str,
pub backend: &'s str,
pub contents: &'s str,
pub contents: Option<&'s str>,
}
impl<'s> Source<'s> for Object<'s> {