MD::Paragraph Class

template <typename Trait> class MD::Paragraph

Paragraph. More...

Header: #include <md4qt/doc.h>
CMake: find_package(md4qt REQUIRED COMPONENTS md4qt)
target_link_libraries(mytarget PRIVATE md4qt::md4qt)
Inherits: MD::Block

Public Functions

std::shared_ptr<MD::Item<Trait>> clone(MD::Document<Trait> *doc = nullptr) const override
MD::ItemType type() const override

Detailed Description

Member Function Documentation

std::shared_ptr<MD::Item<Trait>> Paragraph::clone(MD::Document<Trait> *doc = nullptr) const

Clone this paragraph.

doc Parent of new item.

MD::ItemType Paragraph::type() const

Returns type of the item.