MD::RawHtmlBlock Struct
template <typename Trait> struct MD::RawHtmlBlockInternal structure for pre-storing HTML. More...
Header: | #include <md4qt/parser.h> |
CMake: | find_package(md4qt REQUIRED COMPONENTS md4qt) target_link_libraries(mytarget PRIVATE md4qt::md4qt) |
Detailed Description
During splitting Markdown to blocks HTML treats as a text, paragraph. And on parsing paragraph may go with ending HTML. In this case parsing of paragraph will stop at detected HTML and HTML block may be not fully finished, i.e. next lines may be continuations of HTML block. In this case an object of this class is initialized, so when next block goes on parsing, parser knows that HTML block is not finished and should be continued. In other words this struct is for such cases.