Mirror von
https://github.com/quitesimpleorg/qsmaddy.git
synchronisiert 2024-11-05 17:24:38 +01:00
2fe7a71bf3
* htmlparser added * Added ParserConfig * added option to disable the emphasized parser * added option to not wrap HTML in markdown within a paragraph in output * Updated docs * Version update 1.1.1
32 Zeilen
654 B
C++
32 Zeilen
654 B
C++
/*
|
|
* This project is licensed under the MIT license. For more information see the
|
|
* LICENSE file.
|
|
*/
|
|
#pragma once
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
namespace maddy {
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
/**
|
|
* ParserConfig
|
|
*
|
|
* @class
|
|
*/
|
|
struct ParserConfig
|
|
{
|
|
bool isEmphasizedParserEnabled;
|
|
bool isHTMLWrappedInParagraph;
|
|
|
|
ParserConfig()
|
|
: isEmphasizedParserEnabled(true)
|
|
, isHTMLWrappedInParagraph(true)
|
|
{}
|
|
}; // class ParserConfig
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
} // namespace maddy
|