GetPageContent
Server export to read one handbook page's content
GetPageContent
Returns only the renderable content for a matching page.
Usage
local content = exports["FS-Handbook"]:GetPageContent("welcome")
if content and content.contentType == "markdown" then
print(content.md)
endParameters
Prop
Type
Returns
- table | nil:
{ contentType = "markdown", md = "..." },{ contentType = "rich", html = "..." },{ contentType = "embed", embed = {...} }, or nil.