A fully-specified ContentParser
which handles multiple filename suffixes, operates on an InputStream
, and
surrounds the top-level templates with the default surround
A basic ContentParser
which handles one template filename suffix, operates on a string, and surrounds the
top-level templates with the default surround.
A basic ContentParser
which handles one template filename suffix, operates on a string, and surrounds the
top-level templates with the default surround.
the template filename suffix for which this parser will be utilized.
the parse function for converting the template as a string into a NodeSeq
.
the function for surrounding the content returned by the parseFunction
.
See defaultSurround.
Default surround function used by ContentParser.basic
and the built-it markdown parser which results in the
template being surrounded by default.html
with the content located at id=content
.
Convenience function to convert a simple String => Box[NodeSeq]
content parser function into a
InputStream => Box[NodeSeq]
function for satisfying the ContentParser
contract.
Convenience function to convert a simple String => Box[NodeSeq]
content parser function into a
InputStream => Box[NodeSeq]
function for satisfying the ContentParser
contract.
your String => Box[NodeSeq]
content parser
your parser wrapped up to handle an InputStream