Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Markdown.h « mumble « src - github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7892b252d7974ef2fdbc0abe64d019d0b04e655d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2020-2021 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#ifndef MUMBLE_MUMBLE_MARKDOWN_H_
#define MUMBLE_MUMBLE_MARKDOWN_H_

#include <QString>

namespace Markdown {
/// Converts the given piece of text, interprets it as markdown and replaces
/// the markdown constructs with the respective HTML ones.
///
/// @param markdownInput A reference to the input string
/// @returns The processed HTML string
QString markdownToHTML(const QString &markdownInput);
}; // namespace Markdown

#endif // MUMBLE_MUMBLE_MARKDOWN_H_