Package com.github.rjeschke.txtmark
Class Run
- java.lang.Object
-
- com.github.rjeschke.txtmark.Run
-
public class Run extends java.lang.ObjectSimple class for processing markdown files on the command line.Usage:
java -cp txtmark.jar txtmark.Run filename [header_footer_file]The
header_footer_fileis an optional UTF-8 encoded file containing a header and a footer to output around the generated HTML code.Example:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>markdown</title> <link type="text/css" href="style.css" rel="stylesheet"/> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> </head> <body> <!-- the following line separates header from footer --> <!-- ### --> </body> </html>
-
-
Constructor Summary
Constructors Constructor Description Run()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Static main.
-