So bad at this.
diff --git a/README.md b/README.md index e393101..76fafa6 100644 --- a/README.md +++ b/README.md
@@ -17,9 +17,7 @@ Your middleware constructors should have the form of -```go -func (http.Handler) http.Handler -` + func (http.Handler) http.Handler Some middleware provide this out of the box. For ones that don't, it's trivial to write one yourself. @@ -28,7 +26,7 @@ func myStripPrefix(h http.Handler) http.Handler { return http.StripPrefix("/old", h) } -` +``` This complete example shows the full power of Alice. @@ -59,7 +57,7 @@ chain := alice.New(th.Throttle, timeoutHandler, nosurf.NewPure).Then(myHandler) http.ListenAndServe(":8000", chain) } -` +``` Here, the request will pass [throttled](https://github.com/PuerkitoBio/throttled) first then an http.TimeoutHandler we've set up,