add: 渲染前处理器和渲染后处理器

This commit is contained in:
2024-01-23 20:37:41 +08:00
parent 83a9a06fec
commit 2c6414dbea
5 changed files with 159 additions and 42 deletions

View File

@@ -0,0 +1,10 @@
using YaeBlog.Core.Models;
namespace YaeBlog.Core.Abstractions;
public interface IPostRenderProcessor
{
BlogEssay Process(BlogEssay essay);
string Name { get; }
}

View File

@@ -0,0 +1,10 @@
using YaeBlog.Core.Models;
namespace YaeBlog.Core.Abstractions;
public interface IPreRenderProcessor
{
BlogContent Process(BlogContent content);
string Name { get; }
}