\ConfigureEnv{align*}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="align-star">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi} {}{}
\ConfigureEnv{alignat*}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="alignat-star">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
\ConfigureEnv{alignat}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="alignat">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
\ConfigureEnv{align}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="align">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
\ConfigureEnv{eqxample}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="eqxample">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
\ConfigureEnv{flalign*}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="flalign*">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
\ConfigureEnv{flalign}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="flalign">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
\ConfigureEnv{gather}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="gather">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
\ConfigureEnv{gather*}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="gather-star">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
\ConfigureEnv{gathered}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="gathered">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
\ConfigureEnv{matrix}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="matrix">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
\ConfigureEnv{xalignat*}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="xalignat-star">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
\ConfigureEnv{xalignat}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="xalignat">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
\ConfigureEnv{xxalignat}
{\ifmmode\else \IgnorePar\EndP \HCode{<note rend="xxalignat">}\fi}
{\ifmmode\else \HCode{</note>}\par\ShowPar\fi}{}{}
-_-_-