A RenderChain details the operations needed to get from the raw data in a card to a representation of its question and answer, in a form either suitable for displaying in a browser, or exporting to a text file, ... .
First the raw data is sent through Filters, which perform operations which can be useful for many card types, like expanding relative paths.
Then this data is assembled in the right order in a Renderer, which can be card type specific.
‘filters’: list of Filter classes ‘renderers’: list or Renderer classes
Plugins can add Filters or Renderers for a new card type to a chain at run time.
‘filter’ should be a class, not an instance.
‘renderer’ should be a class, not an instance.