From 18e8b016f76d8389e662d77cd308b42f2f319665 Mon Sep 17 00:00:00 2001 From: B1nj0y Date: Fri, 12 May 2017 00:00:08 +0800 Subject: [PATCH 1/2] fix some markdown headline formats Add spaces to fix some misformated headlines. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dc9c9e33..8f57e8f5 100644 --- a/README.md +++ b/README.md @@ -373,7 +373,7 @@ func main() { ``` -###Multipart/Urlencoded binding +### Multipart/Urlencoded binding ```go package main @@ -451,7 +451,7 @@ func main() { } ``` -####Serving static files +#### Serving static files ```go func main() { @@ -465,7 +465,7 @@ func main() { } ``` -####HTML rendering +#### HTML rendering Using LoadHTMLTemplates() From 0ebb3b2c51c7acec2227b69c683edec24957aaf5 Mon Sep 17 00:00:00 2001 From: B1nj0y Date: Fri, 12 May 2017 00:08:22 +0800 Subject: [PATCH 2/2] unify use H4 as example codes headlines unify use H4 as example codes headlines --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8f57e8f5..789a3fec 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ func main() { } ``` -### Multipart/Urlencoded Form +#### Multipart/Urlencoded Form ```go func main() { @@ -190,7 +190,7 @@ func main() { } ``` -### Another example: query + post form +#### Another example: query + post form ``` POST /post?id=1234&page=1 HTTP/1.1 @@ -220,7 +220,7 @@ func main() { id: 1234; page: 1; name: manu; message: this_is_great ``` -### Another example: upload file +#### Another example: upload file References issue [#548](https://github.com/gin-gonic/gin/issues/548). @@ -373,7 +373,7 @@ func main() { ``` -### Multipart/Urlencoded binding +#### Multipart/Urlencoded binding ```go package main