Add inline source block.
This commit is contained in:
@@ -3,13 +3,17 @@ use crate::error::CustomError;
|
||||
use super::registry::Registry;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(crate) struct IInlineSourceBlock {}
|
||||
pub(crate) struct IInlineSourceBlock {
|
||||
pub(crate) value: String,
|
||||
}
|
||||
|
||||
impl IInlineSourceBlock {
|
||||
pub(crate) async fn new<'parse>(
|
||||
registry: &mut Registry<'parse>,
|
||||
original: &organic::types::InlineSourceBlock<'parse>,
|
||||
) -> Result<IInlineSourceBlock, CustomError> {
|
||||
Ok(IInlineSourceBlock {})
|
||||
Ok(IInlineSourceBlock {
|
||||
value: original.value.to_owned(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user