According to the documantetion the attr_list extension is required to render a button in Mkdocs.
attr_list