Renderer typedef

A renderer built by bit-docs-generate-html/build/renderer that is used to render each DocObject.

function(docObject)

Parameters

  1. docObject {DocObject}:

    The TagCollection data of a comment.

Returns

{String}:

The HTML to be outputted.

Properties

A renderer function also has a .layout property which can be used to render the layout template and a .content property that can be used to render the content template.