mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
16 lines
307 B
C++
16 lines
307 B
C++
#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;
|
|
};
|