node.parent
is equal to the AST rather than
checking its type is root
, and use the AST directly to prepend the
@charset
to, rather than using the superfluous root()
method.add
option (thanks to @ben-eb)Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.