0.0.17 • Published 4 years ago
docframe v0.0.17
docframe
Preview html documents provided by url
Usage
- The content has to be url encoded.
Use
encodeURIComponent
in javascript to encode the content. - References inside the display document must be absolute (don't use
./
or/
)
API
Endpoints | Description |
---|---|
#html=[encodeURIComponent(string)] | Displays a HTML string |
#htmlurl=[encodeURIComponent(url)] | Displays a HTML document by url |
#md=[encodeURIComponent(string)] | Displays a markdown string |
#mdurl=[encodeURIComponent(url)] | Displays a markdown document by url |