feat: allow plugins to modify HTML body (#2022)
Based on https://github.com/denoland/fresh/pull/1769 . Mostly added a test. --------- Co-authored-by: Adam Gregory <adam@aguilaengineering.com>
This commit is contained in:
co-authored by
Adam Gregory
parent
14cecc0a6f
commit
7ff2781fcd
@@ -601,6 +601,8 @@ export interface PluginRenderResult {
|
||||
scripts?: PluginRenderScripts[];
|
||||
/** Link tags for the page */
|
||||
links?: PluginRenderLink[];
|
||||
/** Body HTML transformed by the plugin */
|
||||
htmlText?: string;
|
||||
}
|
||||
|
||||
export interface PluginRenderStyleTag {
|
||||
|
||||
Reference in New Issue
Block a user