6#ifndef __HTML__GEN___H_
7#define __HTML__GEN___H_
21 HTMLGen(
const std::string &src);
28 void output(std::ostream &out, std::string filename);
57 void output(std::ostream &out,
const std::string &filename,
58 const std::string &cssHref =
"mxvm-highlight.css");
void output(std::ostream &out, std::string filename)
Write the generated HTML to an output stream.
HTMLGen(const std::string &src)
Construct an HTML generator from MXVM source text.
std::string source
the MXVM source text to convert
PasHTMLGen(const std::string &src)
Construct from Pascal source text.
void output(std::ostream &out, const std::string &filename, const std::string &cssHref="mxvm-highlight.css")
Write generated HTML to an output stream.
static std::string defaultCss()
Return the default stylesheet text.