MarkedOptions

@JSType class MarkedOptions extends Object
Companion
object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

@ExposedJSMember
val breaks: Boolean

Enable GFM line breaks. This option requires the gfm option to be true.

Enable GFM line breaks. This option requires the gfm option to be true.

@ExposedJSMember
val gfm: Boolean
@ExposedJSMember
val highlight: UndefOr[(String, UndefOr[String], Function) => String]

A function to highlight code blocks

A function to highlight code blocks

See also
@ExposedJSMember
val pedantic: Boolean

Conform to obscure parts of markdown.pl as much as possible. Don't fix any of the original markdown bugs or poor behavior.

Conform to obscure parts of markdown.pl as much as possible. Don't fix any of the original markdown bugs or poor behavior.

@ExposedJSMember

An object containing functions to render tokens to HTML.

An object containing functions to render tokens to HTML.

@ExposedJSMember
val sanitize: Boolean

Sanitize the output. Ignore any HTML that has been input.

Sanitize the output. Ignore any HTML that has been input.

@ExposedJSMember
val smartLists: Boolean

Use smarter list behavior than the original markdown. May eventually be default with the old behavior moved into pedantic.

Use smarter list behavior than the original markdown. May eventually be default with the old behavior moved into pedantic.

@ExposedJSMember
val smartypants: Boolean

Use "smart" typograhic punctuation for things like quotes and dashes.

Use "smart" typograhic punctuation for things like quotes and dashes.

@ExposedJSMember
val tables: Boolean

Enable GFM tables. This option requires the gfm option to be true.

Enable GFM tables. This option requires the gfm option to be true.