mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 08:36:33 +03:00
minor README fix
This commit is contained in:
parent
c4972966e0
commit
a8d74e0b6f
|
@ -11,7 +11,7 @@ Swagger-generated API Reference Documentation
|
|||
|
||||
## Deployment
|
||||
|
||||
## tl;dr
|
||||
#### tl;dr
|
||||
```html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
@ -85,7 +85,7 @@ Instead of adding `spec-url` attribute to the `<redoc>` element you can initiali
|
|||
Redoc.init(specUrl, options)
|
||||
```
|
||||
|
||||
`options` is javascript object with camel-cased versions of options names as the keys. For example:
|
||||
`options` is javascript object with camel-cased version of options names as the keys. For example:
|
||||
```js
|
||||
Redoc.init('http://petstore.swagger.io/v2/swagger.json', {
|
||||
scrollYOffset: 50
|
||||
|
|
Loading…
Reference in New Issue
Block a user