cd307d1997-11-25Fredrik Hübinette (Hubbe) #include "types.h" inherit "html"; SGML wmml_to_html(SGML data) { return convert(data); } string mkfilename(string section) { string s=::mkfilename(section);
4f5d5b1997-11-29Fredrik Hübinette (Hubbe)  return replace(s,".md.html",".html.md");
cd307d1997-11-25Fredrik Hübinette (Hubbe) } SGML split(SGML data) { SGML ret=html::split(data); foreach(indices(sections),string file) { sections[file+".md"]=({ "string title=\"Pike Manual\";\n" "string template=\"manual.tmpl\";\n" }); } return ret; }