From 663eb872e957150ac249c8eea328b9139463960c Mon Sep 17 00:00:00 2001 From: Jason Buberel Date: Fri, 3 Jul 2015 18:01:33 -0700 Subject: [PATCH] Fix the formatting by back-ticking the HTML --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f0ab5b..5d4a60a 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Here's a little snippet of an example wikipedia page in the doc: ``` -In our Go code, we define a struct to match the element, its nested element and grab a couple of fields we're interested in ( and ). +In our Go code, we define a struct to match the <page> element, its nested <redirect> element and grab a couple of fields we're interested in (`<text>` and `<title>`). ```go type Redirect struct { Title string `xml:"title,attr"` @@ -76,4 +76,4 @@ for { ``` -I hope this saves you some time if you need to parse a huge XML file yourself. \ No newline at end of file +I hope this saves you some time if you need to parse a huge XML file yourself.