ladybird/Libraries/LibMarkdown/MDParagraph.h
2019-09-28 18:29:42 +02:00

17 lines
387 B
C++

#pragma once
#include <LibMarkdown/MDBlock.h>
#include <LibMarkdown/MDText.h>
class MDParagraph final : public MDBlock {
public:
virtual ~MDParagraph() override {}
virtual String render_to_html() const override;
virtual String render_for_terminal() const override;
virtual bool parse(Vector<StringView>::ConstIterator& lines) override;
private:
MDText m_text;
};