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

Work around localhost link problem with <link> syntax

[http://localhost]() syntax used previously doesn't actually work. Link
is created, but link is back to self.

Per a [hot tip][1], now using <http://localhost> syntax, which works
perfectly.

[1]: https://github.com/vmg/sundown/issues/132#issuecomment-8774103
Chris Beams 13 лет назад
Родитель
Сommit
72c4941ea0
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