Sourcemeta Core 0.0.0
Loading...
Searching...
No Matches
markdown.h
1#ifndef SOURCEMETA_CORE_MARKDOWN_H_
2#define SOURCEMETA_CORE_MARKDOWN_H_
3
4#ifndef SOURCEMETA_CORE_MARKDOWN_EXPORT
5#include <sourcemeta/core/markdown_export.h>
6#endif
7
8#include <string> // std::string
9#include <string_view> // std::string_view
10
20
21namespace sourcemeta::core {
22
40SOURCEMETA_CORE_MARKDOWN_EXPORT
41auto markdown_to_html(const std::string_view input, const bool safe = true)
42 -> std::string;
43
44} // namespace sourcemeta::core
45
46#endif
SOURCEMETA_CORE_MARKDOWN_EXPORT auto markdown_to_html(const std::string_view input, const bool safe=true) -> std::string