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