/* * This project is licensed under the MIT license. For more information see the * LICENSE file. * * This file is a tiny example project to test if find_package works correctly. */ #include #include #include #include #include "maddy/parser.h" int main(int argc, char** argv) { std::shared_ptr parser = std::make_shared(); std::stringstream markdownStream; markdownStream << "# Hello World\n" << "This is a **bold** text and this is *italic* text.\n"; std::cout << parser->Parse(markdownStream) << std::endl; return 0; }