Initializer
RenderOptions(String? defaultLanguage = null, Boolean linkHeadings = false, Boolean safe = false, String softBreak = ..., Boolean sourcePos = false)
Parameters:
  • defaultLanguage = null

    An optional language to use for code blocks, when no other language is specified.

  • linkHeadings = false

    When enabled, turns all heading elements into links that anchor to themselves, making it easier for authors to link to specific sections of a page.

  • safe = false
  • softBreak = "\n"

    By default, soft breaks are rendered as newlines in HTML. Set to “
    ” to make them hard breaks. Set to " " if you want to ignore line wrapping in source.

  • sourcePos = false
Attributes
defaultLanguageshared String? defaultLanguage

An optional language to use for code blocks, when no other language is specified.

linkHeadingsshared Boolean linkHeadings

When enabled, turns all heading elements into links that anchor to themselves, making it easier for authors to link to specific sections of a page.

safeshared Boolean safe
softBreakshared String softBreak

By default, soft breaks are rendered as newlines in HTML. Set to “
” to make them hard breaks. Set to " " if you want to ignore line wrapping in source.

sourcePosshared Boolean sourcePos
Inherited Attributes
Attributes inherited from: Object
hash, string
Inherited Methods
Methods inherited from: Object
equals