22 lines
444 B
Plaintext
22 lines
444 B
Plaintext
{
|
|
new(
|
|
title='',
|
|
span=null,
|
|
mode='markdown',
|
|
content='',
|
|
transparent=null,
|
|
description=null,
|
|
datasource=null,
|
|
)::
|
|
{
|
|
[if transparent != null then 'transparent']: transparent,
|
|
title: title,
|
|
[if span != null then 'span']: span,
|
|
type: 'text',
|
|
mode: mode,
|
|
content: content,
|
|
[if description != null then 'description']: description,
|
|
datasource: datasource,
|
|
},
|
|
}
|