Table of Contents

Interface ITableSerializer

Namespace
Mythosia.Documents.Elements
Assembly
Mythosia.Documents.Abstractions.dll

Strategy interface for rendering a TableItem to Markdown. Swap implementations on TableSerializer to change how tables are serialized without modifying any other code.

public interface ITableSerializer

Methods

Render(TableItem, StringBuilder)

Renders the table into sb. Implementations must append a trailing blank line when they emit output.

void Render(TableItem table, StringBuilder sb)

Parameters

table TableItem
sb StringBuilder