Render images server side. Remove JS hack to get images to render.
This commit is contained in:
parent
5d67e92245
commit
3eca70a102
9 changed files with 107 additions and 35 deletions
|
@ -0,0 +1,10 @@
|
|||
using Markdig;
|
||||
|
||||
namespace Website.Markdig.Extensions {
|
||||
public static class MarkdownPipelineBuilderExtensions {
|
||||
public static MarkdownPipelineBuilder UseBlogImageRenderer(this MarkdownPipelineBuilder pipeline) {
|
||||
pipeline.Extensions.Add(new BlogImageRendererExtension());
|
||||
return pipeline;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue