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// NOLINTBEGIN(misc-include-cleaner)
9#include <sourcemeta/core/markdown_error.h>
10// NOLINTEND(misc-include-cleaner)
11
12#include <string> // std::string
13#include <string_view> // std::string_view
14
24
25namespace sourcemeta::core {
26
48SOURCEMETA_CORE_MARKDOWN_EXPORT
49auto markdown_to_html(const std::string_view input, const bool safe = true)
50 -> std::string;
51
52} // namespace sourcemeta::core
53
54#endif
SOURCEMETA_CORE_MARKDOWN_EXPORT auto markdown_to_html(const std::string_view input, const bool safe=true) -> std::string