blob: c3f04def07efa3bb07445ef93982137087b5d910 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include <AK/NonnullOwnPtrVector.h>
#include <AK/String.h>
#include <LibMarkdown/MDBlock.h>
class MDDocument final {
public:
String render_to_html() const;
String render_for_terminal() const;
bool parse(const StringView&);
private:
NonnullOwnPtrVector<MDBlock> m_blocks;
};
|