Switch over to using the render context in render calls.

This commit is contained in:
Tom Alexander
2023-12-19 15:42:37 -05:00
parent cb3278aba5
commit add267d616
67 changed files with 699 additions and 1197 deletions

View File

@@ -1,8 +1,6 @@
use std::path::Path;
use serde::Serialize;
use crate::config::Config;
use super::render_context::RenderContext;
use crate::error::CustomError;
use crate::intermediate::IInlineSourceBlock;
@@ -19,9 +17,7 @@ render!(
RenderInlineSourceBlock,
IInlineSourceBlock,
original,
_config,
_output_directory,
_output_file,
_render_context,
{
Ok(RenderInlineSourceBlock {
value: original.value.clone(),