Просмотр исходного кода

Work around limitations of GH Markdown auto-linking

 - http://foo.com will auto-link
 - http://foo.com:8080 will too
 - http://localhost won't
 - http://localhost:8080 won't either

Workaround is to wrap in link syntax, e.g.

 - [http://localhost:8080]()
Chris Beams 13 лет назад
Родитель
Сommit
82387a6862
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      README.md

+ 2
- 2
README.md Просмотреть файл

@@ -282,7 +282,7 @@ $ java -jar target/gs-rest-service-1.0.jar
282 282
 Test the service
283 283
 ----------------
284 284
 
285
-Once the service starts, you can test it by pointing your web browser at http://localhost:8080/hello-world. Or you can consume it from the command line using [`curl`][curl]:
285
+Once the service starts, you can test it by pointing your web browser at [http://localhost:8080/hello-world](). Or you can consume it from the command line using [`curl`][curl]:
286 286
 
287 287
 ```
288 288
 $ curl http://localhost:8080/hello-world
@@ -293,7 +293,7 @@ Either way, the response should look like this:
293 293
 {"id":1,"content":"Hello, World!"}
294 294
 ```
295 295
 
296
-Now try providing a `name` query string parameter: [http://localhost:8080/hello-world?name=User]
296
+Now try providing a `name` query string parameter: [http://localhost:8080/hello-world?name=User]()
297 297
 
298 298
 ```
299 299
 $ curl http://localhost:8080/hello-world?name=User