Module m_mdview

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

Module Information

Inherit this module to gain access to Markdown text functions for formatting and creating layout suitable for the MUD. The MD source is parsed into colour enhanced strings, C code is rudimentarily formatted and colourized.

This module requires M_COLOURS.

Functions

string md_format(string *file, string searchtext)

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

varargs string md_format_file(string f, string searchtext)

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

File generated by Lima 1.1a4 reStructured Text daemon.