Write a C++ function that takes a reference to a std::string containing markdown formatted text and returns a std::string containing html formatted text.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence