Module m_rstview

Documentation for the modules-m_rstview module in /std/modules/m_rstview.c.

Module Information

Inherit this module to gain access to reStructured text functions for formatting and creating layout suitable for the MUD. The RST source is parsed into colour enhanced strings, C code receives rudimentary formatting and colours.

This module requires M_COLOURS.

Functions

string rst_format(string *file, string searchtext)

From an array of string lines, format all the lines as reStructured text with colour markup and return a string.

varargs string rst_format_file(string f, string searchtext)

Read a file, and format the contents as reStructured text with colour markup.

File generated by Lima 1.1a4 reStructured Text daemon.