Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

The Guide and VBMapp controllers allow for the specification of the format of the resulting content.  At this time, two formats are supported: HTML and Plain Text.

The format is chosen by specifying the X-DocType header as either 'text' or 'html'.  The default format is HTML.

 

HTML Format

 

When the HTML format is specified, or no X-DocType is specified, the resulting text embedded in the various JSON nodes will contain text formatted as HTML.  This allows for complete styling of the resulting text.

HTML Styles

A Cascading Style Sheet for the styles used can be found at:  https://s3.amazonaws.com/vbmappapp/assets/vbmapp.css

Plain Text Format

When the Plain Text format is specified, the resulting JSON nodes will contain text that is only formatted with only line feeds (LF - 0x0A) and horizontal tab (TAB - 0x09) characters for formatting.

  • No labels