You should consider using html() instead of text() on line https://github.com/ly-tools/gitbook-plugin-todo/blob/ccc4e349a5ba3f990e8f162bef4c727c126bdf54/index.js#L12 This will preserve formatting for checkbox label (strong and italics).