go formatting
This commit is contained in:
parent
deed40f168
commit
8774894291
@ -102,8 +102,7 @@ func main() {
|
||||
seg.codeRendered = pipe(pygmentizePath, []string{"-l", "go", "-f", "html"}, seg.code+" ")
|
||||
}
|
||||
|
||||
fmt.Printf(`
|
||||
<!DOCTYPE html>
|
||||
fmt.Printf(`<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-eqiv="content-type" content="text/html;charset=utf-8">
|
||||
@ -124,9 +123,5 @@ func main() {
|
||||
</tr>`, seg.docsRendered, seg.codeRendered)
|
||||
}
|
||||
|
||||
fmt.Print(`</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>`)
|
||||
fmt.Print(`</tbody></table></div></body></html>`)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user