Wiki Help

Revision Difference

ViewFormat#519160

<cat>editing</cat>⤶ <title>View Format</title>⤶ ⤶ You can view pages in a different format by passing the format parameter. This is useful if you want to integrate the ability to read it in some other software.⤶ ⤶ To do this you pass the parameter `?format=<value>` with one of the following:⤶ ⤶ | Name | Effects |⤶ |-------|------|⤶ | [text](https://wiki.facepunch.com/gmod/GM:DoPlayerDeath?format=text) | Returns only the markup of the page in plain text |⤶ | [html](https://wiki.facepunch.com/gmod/GM:DoPlayerDeath?format=html) | Returns only the html of the page without any of the surrounding site content |⤶ | [json](https://wiki.facepunch.com/gmod/GM:DoPlayerDeath?format=json) | Returns a json summary of the content of the page, including the markup and parsed html |⤶