Node - date

Purpose

The date node displays a date in the user's locale.

Type

date is an inline node.

Example

1
2
{
  "type": "date",
  "attrs": {
    "timestamp": "1582152559"
  }
}

Marks

date does not support any marks.

Fields

NameRequiredTypeValue
typestring"date"
attrsobject
attrs.timestampstring""

Rate this page: