• wrap everything in a body tag

  • bs4 pretty print the code for proper indentation

  • !! remove all id attributes from tags

  • !! strip all style attributes that we do not use

  • !! remove all <br /> tags

  • (maybe later) replace pre tags 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 with span.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)