Rule that maps images to [img] tag.

Implements

Constructors

Properties

Methods

Constructors

Properties

id: "img" = "img"

Some ID solely used for debugging purpose. Recommended to keep unique among rules, though.

tags: string[] = ...

BBCode tags, this rule is related to. Automatically also registers tags as known to BBCode to HTML processing.

Typically, you list tags here, which are generated during toData mapping.

Methods