fix storyshots for MarkdownViewer and SyntaxHighlighter

This commit is contained in:
Sebastian Sdorra
2019-10-17 14:13:54 +02:00
parent 7507963b85
commit 0dc1af2f47
9 changed files with 2649 additions and 57 deletions

View File

@@ -0,0 +1,18 @@
export default `package main
import (
"fmt"
"net/http"
)
func main() {
http.HandleFunc("/", func (w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Welcome to my website!")
})
fs := http.FileServer(http.Dir("static/"))
http.Handle("/static/", http.StripPrefix("/static/", fs))
http.ListenAndServe(":80", nil)
}
`;