-
Notifications
You must be signed in to change notification settings - Fork 9
Examples
Tim edited this page Oct 3, 2022
·
1 revision
Create instance:
#include "html2md.hpp"
#include <string>
int main() {
std::string html = "<h1>html2md</h1>";
html2md::Converter instance(html);
std::string md = instance.Convert(); // # html2md\n
return 0;
}
Use static function:
#include <html2md.hpp>
//...
std::cout << html2md::Convert(html);