htmlify_spacegroup

emmet.core.featurization.robocrys.util.htmlify_spacegroup(spacegroup_symbol)

Formats a spacegroup using unicode symbols.

E.g. P-42_1m -> PĖ…42<sub>1</sub>m

Return type:

str

Parameters:

spacegroup_symbol (str)

Args:

spacegroup_symbol: A spacegroup symbol.

Returns:

The html formatted spacegroup symbol.