isActive property

  1. @override
bool isActive
getter/setter pairoverride

Whether the delimiter is active.

Links cannot be nested, so we must "deactivate" any pending ones. For example, take the following text:

Text [link and [more](links)](links).

Once we have parsed Text [, there is one (pending) link in the state stack. It is, by default, active. Once we parse the next possible link, [more](links), as a real link, we must deactive the pending links (just the one, in this case).

Implementation

@override
bool isActive;