postcss/root/replace

Methods

(inner) rootReplace()

Marpit PostCSS root replace plugin.

Replace :root pseudo-class selector into section. It can add custom pseudo class through pseudoClass option to make distinguishable from section selector.

Source: