Closed wxiaoguang closed 1 week ago
There were too many patches to the Render system, it's really difficult to make further improvements.
This PR clears the legacy problems and fix TODOs.
RenderContext.Type
RenderContext.MarkupType
ContentMode
meta["mode"]
IsWiki
renderByType
renderByFile
The problem of "mode=document": in many cases it is not set, so many non-comment places use comment's hard line break incorrectly
There were too many patches to the Render system, it's really difficult to make further improvements.
This PR clears the legacy problems and fix TODOs.
RenderContext.Type
toRenderContext.MarkupType
to clarify its usage.ContentMode
to replacemeta["mode"]
andIsWiki
, to clarify the rendering behaviors.renderByType
andrenderByFile
The problem of "mode=document": in many cases it is not set, so many non-comment places use comment's hard line break incorrectly