Modify Plugin so that it renders both content ([Block]) or text ([Inline]).
For now the function is substitute :: String -> Sem r ([Block], [Inline]),
in the future hopefully this could be polymorphic and we would let the caller to decide which should be rendered (since rendering might be also expensive).
But for now, this should suffice.
Modify
Plugin
so that it renders both content ([Block]
) or text ([Inline]
).For now the function is
substitute :: String -> Sem r ([Block], [Inline]),
in the future hopefully this could be polymorphic and we would let the caller to decide which should be rendered (since rendering might be also expensive). But for now, this should suffice.