Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F116516
kazv-markdown.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
477 B
Referenced Files
None
Subscribers
None
kazv-markdown.hpp
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2024 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#include
<libkazv-config.hpp>
#include
<immer/config.hpp>
// https://github.com/arximboldi/immer/issues/168
#include
<string>
#include
<immer/flex_vector.hpp>
struct
KazvRichTextParseResult
{
std
::
string
html
;
immer
::
flex_vector
<
std
::
string
>
mentions
;
};
KazvRichTextParseResult
markdownToHtml
(
const
std
::
string
&
markdown
);
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Dec 1, 6:34 PM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41776
Default Alt Text
kazv-markdown.hpp (477 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment