pub fn to_html(doc: &SurfDoc) -> String
Render a SurfDoc as an HTML fragment.
SurfDoc
The output is a sequence of semantic HTML elements with surfdoc-* CSS classes. No <html>, <head>, or <body> wrapper is added.
surfdoc-*
<html>
<head>
<body>