mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 12:19:37 +03:00
13 lines
261 B
C++
13 lines
261 B
C++
#pragma once
|
|
|
|
#include <AK/String.h>
|
|
|
|
class MDBlock {
|
|
public:
|
|
virtual ~MDBlock() {}
|
|
|
|
virtual String render_to_html() const = 0;
|
|
virtual String render_for_terminal() const = 0;
|
|
virtual bool parse(Vector<StringView>::ConstIterator& lines) = 0;
|
|
};
|