-
wrap everything in a body tag
-
bs4 pretty print the code for proper indentation
-
!! remove all id attributes from tags
-
!! strip all
styleattributes that we do not use -
!! remove all
<br />tags -
(maybe later) replace
pretags with the native flare code snippets -
!! remove all
<hr /> -
(maybe manual)
<figure>and<figcaption>doodoo -
all not
<span class="Code">ought to be removed -
!! remove all
<li class=...> -
replace all
<div class="alert alert">with<div class="Note"> -
replace
<code>tags withspan.Code -
fix all malformed html
-
remove
dir="ltr"and all other meaningless attributes -
strong tags → b.UI tags
-
could add a PR check if prettier passes (maybe with our custom prettier.rc)