@argdown/core
    Preparing search index...

    Class ColorPlugin

    Colorizes arguments and equivalence classes.

    • if [[IColorSettings.ignoreColorData]] is false, it first looks for the color defined in the elements YAML data.
    • takes the color from [[IColorSettings.statmentColors]] or [[IColorSettings.argumentColors]] if one was defined for this element.
    • if [[IColorSettings.colorizeByTag]] is true, it finally gives the element the color that corresponds to the [[IArgdownResponse.tagColors]] index of the elements first tag.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    defaults: IColorSettings
    name: string = "ColorPlugin"

    The name of the plugin

    run: IRequestHandler = ...

    Use this method to do the main work outside of the Argdown AST. This is the last method to be called by the [[ArgdownApplication]].

    Methods