-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
When passing:
{
type: 'Paragraph',
children: [
{
type: 'Strong',
children: [Array],
loc: [Object],
range: [Array],
raw: '**This emphasis has more than one sentence. It has two lines.**'
}
],
loc: { start: { line: 1, column: 0 }, end: { line: 1, column: 63 } },
range: [ 0, 63 ],
raw: '**This emphasis has more than one sentence. It has two lines.**'
}
The following is returned:
{
type: 'Paragraph',
children: [
{
type: 'Sentence',
raw: '**This emphasis has more than one sentence. It has two lines.**',
loc: [Object],
range: [Array],
children: [Array]
}
],
loc: { start: { line: 1, column: 0 }, end: { line: 1, column: 63 } },
range: [ 0, 63 ],
raw: '**This emphasis has more than one sentence. It has two lines.**'
}
Note that this can be represented across multiple lines, without altering rendered output:
**This emphasis has more than one sentence. It has two lines.**'
is equivalent to
**This emphasis has more than one sentence.
It has two lines.**
alpaca-tc