BlockquoteLine

BlockquoteLine

new BlockquoteLine()

A line representing a blockquote in a document

Extends

Members

(static) markdownPattern

See:

(static) type

See:

content

Properties:
Name Type Description
content string

The human-readable content of the line

Inherited From:

groupType

Properties:
Name Type Description
groupType string

The type of group this line belongs to

Inherited From:
See:

isNesting

Properties:
Name Type Description
isNesting boolean

Whether this line is nestable in groups

Inherited From:

isSummarized

Properties:
Name Type Description
isSummarized boolean

Whether this line is included in a Canvas document summary

Inherited From:

source

Properties:
Name Type Description
source string

The original native source of this line

Inherited From:

type

Properties:
Name Type Description
type string

A human-readable name for this type

Inherited From:
See:

typeKey

Properties:
Name Type Description
typeKey string

A short, typically one-character key to denote this line type

Inherited From:
See:

Methods

toJSON() → {object}

Inherited From:
Returns

An object representing this line in a JSON-serializable form

Type
object

toMarkdown(prev, next, contextopt) → {string}

Overrides:
Parameters
Name Type Attributes Default Description
prev Type

The line before the line being converted to Markdown

next Type

The line after the line being converted to Markdown

context object <optional>
{}

Contextual information for the Markdown conversion

Returns

The Markdown representation of this line

Type
string