Wiki Help
Home
/
Edit View Formatting
View
Edit
History
No Category
Editing The Wiki
Custom Tags
Tests
Log in to edit
View Formatting
<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 |
Wiki Help
The Facepunch Wiki
Editing The Wiki
7
Code Blocks
About This Wiki
Bugs And Requests
Headings
Tables
Uploading Images & Files
View Formatting
Custom Tags
19
Ambig
Bug
Cat
Deprecated
Example
Function
Internal
Key
Member
Note
Page
Page List
Removed
Rustitem
Structure
Title
Type
Validate
Warning
Tests
2
Markdown
Syntax Highlight: Lua