1
0
Mirror von https://github.com/quitesimpleorg/qsmaddy.git synchronisiert 2024-06-09 15:10:31 +02:00
Commit graph

25 Commits

Autor SHA1 Nachricht Datum
e0e0db80d5 Linkparser: Use callbacks, so app can influence how the HTML gets rendered exactly
In particular, this allows making dynamic decisions: Some links may
for example require a different CSS class or so, therefore a static
hardcoded template is not enough for those cases.
2021-04-18 13:10:50 +02:00
8ac353a9d7 Parser: Add setters to allow influencing the parsing with custom implementations 2021-04-18 12:55:30 +02:00
2f14336692 italicparser: Parse(): Add static keyword to regex
In line with the other parsers, add the static keyword to the
regex.
2021-04-18 11:40:15 +02:00
Petra Baranski
fd698d1f5f
Merge branch 'master' into numeric-list 2020-10-04 18:31:29 +02:00
Drew Mettlach
cde0137e90 orderedlistparser: Add parsing support for fully numeric markdown lists 2020-10-03 17:22:21 -05:00
Evan Klitzke
71ee49d1ea
make Parser::Parse accept istreams instead of stringstream 2020-07-12 11:30:41 -07:00
Martin Kopecky
cb75226b4a *, + and - are equivalent for making unordered bullet lists as per https://spec-md.com/#sec-Lists
Modified tests and documentation to reflect that.
2020-02-03 22:52:57 +01:00
Martin Kopecký
51d61b68fe Added another character for bullet point("-") 2020-01-30 17:38:55 +01:00
Petra Baranski
2fe7a71bf3
No paragraphs for html (#27)
* 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
2019-12-27 19:48:29 +01:00
Patrick José Pereira
77782635d4 breaklineparser: First version
Some markdown provides such as GitHub, uses \r\n to create <br>

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-12-16 11:10:25 -03:00
M. Petra Baranski
3484198ade appveyor - use debug 2019-02-19 02:43:15 +01:00
Patrick José Pereira
62c840bb77 blockparser: Add missing includes to fix msvc builds
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-02-13 15:47:16 -02:00
Patrick José Pereira
a84da9de61 emphasizedparser: Underscore does not need backslash
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-25 14:51:50 -03:00
Patrick José Pereira
7c26aa0431 strongparser: Underscore does not need backslash
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-25 14:51:49 -03:00
M. Petra Baranski
8294841cf5 added dtor to lineparser 2018-10-25 17:45:52 +02:00
M. Petra Baranski
348532acb8 added BlockParser dtor 2018-10-25 17:26:25 +02:00
Petra Baranski
78652f64d5
Merge branch 'master' into add_italic 2018-10-25 16:42:33 +02:00
Patrick José Pereira
ee42f7eae9 emphasizedparser: Move from *this* to _this_
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-25 11:36:22 -03:00
Patrick José Pereira
9b37255346 italicparser: Add first version
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-25 11:36:22 -03:00
Patrick José Pereira
eb2b4fa929 strongparser: Add __ tag
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-25 11:34:08 -03:00
Patrick José Pereira
22c656f855 blackparser: Add missing include
Fix clang build

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-22 20:16:13 -03:00
M. Petra Baranski
9a9774f904 make sure that all parsers are finished 2018-01-18 19:09:10 +01:00
M. Petra Baranski
2ee6840008 fixed the inline code now also for not directly following letters
* em
* s
* strong

updated regex
2017-12-26 05:24:01 +01:00
M. Petra Baranski
91b687d5e7 fixed inline code for bold, em and s
In inline code the markdown for bold , emphasized
and strike trhough  is not parsed anymore.

Additionally the linker might be now faster on Linux.
2017-12-25 21:21:59 +01:00
M. Petra Baranski
569794c4b6 initial release 1.0.0 2017-12-25 12:22:35 +01:00