MarkDown

object MarkDown

A class to facilitate construction of markdown elements

Types

Link copied to clipboard
Link copied to clipboard
class Table(colHeaders: List<String>, formats: List<MarkDown.ColFmt> = allSame(colHeaders.size, ColFmt.LEFT))

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun blockQuote(text: String?): String
Link copied to clipboard
fun bold(text: String?): String
Link copied to clipboard
Link copied to clipboard
fun code(text: String?): String
Link copied to clipboard
fun header(header: String?, hLevel: Int): String
Link copied to clipboard
fun hRule(): String
Link copied to clipboard
fun image(altText: String?, imageURL: String?): String
Link copied to clipboard
fun italic(text: String?): String
Link copied to clipboard
fun link(linkText: String?, linkURL: String?): String
Link copied to clipboard
fun nList(list: List<String?>): String
Link copied to clipboard
fun tableHeader(colHeaders: List<String>, formats: List<MarkDown.ColFmt>): String
fun tableHeader(colHeaders: List<String>, format: MarkDown.ColFmt = ColFmt.LEFT): String
Link copied to clipboard
fun tableRow(elements: List<String>): String
fun tableRow(rowLabel: String? = null, array: DoubleArray, df: DecimalFormat? = D3FORMAT): String
Link copied to clipboard
fun unList(list: List<String?>): String