Package org.commonmark.renderer.markdown
Interface MarkdownNodeRendererContext
- All Known Implementing Classes:
MarkdownRenderer.RendererContext
public interface MarkdownNodeRendererContext
Context that is passed to custom node renderers, see
MarkdownNodeRendererFactory.create(org.commonmark.renderer.markdown.MarkdownNodeRendererContext)
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Render the specified node and its children using the configured renderers.
-
Method Details
-
getWriter
MarkdownWriter getWriter()- Returns:
- the writer to use
-
render
Render the specified node and its children using the configured renderers. This should be used to render child nodes; be careful not to pass the node that is being rendered, that would result in an endless loop.- Parameters:
node
- the node to render
-
getSpecialCharacters
- Returns:
- additional special characters that need to be escaped if they occur in normal text; currently only ASCII characters are allowed
-