mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-20 20:43:23 +00:00
16 lines
2.1 KiB
XML
16 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nature on Hilbish</title><link>https://rosettea.github.io/Hilbish/versions/document-lua/docs/nature/</link><description>Recent content in Nature on Hilbish</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://rosettea.github.io/Hilbish/versions/document-lua/docs/nature/index.xml" rel="self" type="application/rss+xml"/><item><title>Module dirs</title><link>https://rosettea.github.io/Hilbish/versions/document-lua/docs/nature/dirs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/document-lua/docs/nature/dirs/</guid><description>dirs.setOld(d) Sets the old directory string.
|
|
Parameters d string
|
|
dirs.push(dir) Add dir to the recent directories list.
|
|
Parameters dir string
|
|
dirs.peak(num) Look at num amount of recent directories, starting from the latest. This returns a table of recent directories, up to the num amount.
|
|
Parameters num number
|
|
dirs.pop(num) Remove the specified amount of dirs from the recent directories list.
|
|
Parameters num number
|
|
dirs.recent(idx) Get entry from recent directories list based on index.</description></item><item><title>Module doc</title><link>https://rosettea.github.io/Hilbish/versions/document-lua/docs/nature/doc/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/document-lua/docs/nature/doc/</guid><description>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.</description></item></channel></rss> |