Manual Reference Pages - SMI (1)
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 youd 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 cant possibly be fully deacribed here.
Displays usage options.
-n Strict Mode;
escape HTML strictly (input).
Output version information, and exit.
If no Outfile is given, Output is sent to standard output.
The Input, and Output are processed strictly serially;
consequently smi may be used in pipe-lines.
Create a web page, from one written in Markdown:
smi Markdown.txt > Markdown.html
Take the HTML file generated above, and make the output suitable for displaying
within a <code> block on your web pages:
smi -n Maekdown.html > Markdown.code
Strictly speaking, Markdown syntax still needs better interpretation.
The only thing missing in this area, is handling of <cite>.
Other than that; I am aware of no bugs. <cite>, and better documentation
will be addressed in the next version.
Chris Hutchinson <firstname.lastname@example.org>
Enno boland <email@example.com>
|Chris Hutchinson ||SMI (1) ||1.4.0 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.