2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-21 13:03:22 +00:00

1.1 KiB

title description layout menu
Module doc No description. doc
docs
parent
Nature

doc.renderInfoBlock(type, text)

Renders an info block. An info block is a block of text with an icon and styled text block.

Parameters

type string
Type of info block. The only one specially styled is the warning.

text string


doc.highlight(text)

Performs basic Lua code highlighting.

Parameters

text string
Code/text to do highlighting on.


doc.renderCodeBlock(text)

Assembles and renders a code block. This returns the supplied text based on the number of command line columns, and styles it to resemble a code block.

Parameters

text string