Welcome to BSDforge

Projects : Textproc/smi

smi

smi -- Simple Markup Interpreter / filter for simple markup.

smi [ -h -n -v ] Input Output smi [ -h -n -v ] InFile > OutFile

The smi interpreter, assumes the first argument (Input, or InFile) contains simple markup -- Markdown, for example.

smi will return that Input, or InFile in HTML format. Output, if not specified, will be to STDOUT. Which can be piped to something, or redirected, as desired. If Input is formatted in HTML markup, smi will return the meta-characters as their entities -- nice, if you'd like to display Markup in HTML <code> blocks. Given this fact, one might also consider smi a Filter, as well. Possible use cases, are quite broad, and can't possibly be fully described here.


smi is available in FreeBSD ports, you can install it from textproc/smi, or from www/smi, by performing the following;

if you're on FreeBSD, using the ports system:

$ cd /usr/ports/textproc/smi $ make $ make install clean
or
$ cd /usr/ports/www/smi $ make $ make install clean
If using the FreeBSD pkg system:
$ pkg install textproc/smi