Commit Graph

90 Commits

Author SHA1 Message Date
Albert S. 167ce3943d Update README 2021-04-18 13:10:50 +02:00
Albert S. 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
Albert S. 8ac353a9d7 Parser: Add setters to allow influencing the parsing with custom implementations 2021-04-18 12:55:30 +02:00
Albert S. 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 adb1a910d4 fixed spelling in README 2020-10-10 08:11:48 +02:00
Petra Baranski f38b3cf4fa cleaned up Changelog colors 2020-10-10 08:08:35 +02:00
Petra Baranski 6b632abd44 Added CHANGELOG and CONTRIBUTING 2020-10-10 08:03:21 +02:00
Petra Baranski 38f802de09 updated version 2020-10-04 19:03:44 +02:00
Petra Baranski 348aa81607 Improved cmake setup 2020-10-04 19:02:39 +02:00
Petra Baranski ba5cb5d6c5
Merge pull request #34 from solodolo/numeric-list
orderedlistparser: Add parsing support for fully numeric markdown lists
2020-10-04 18:40:57 +02:00
Petra Baranski fd698d1f5f
Merge branch 'master' into numeric-list 2020-10-04 18:31:29 +02:00
Petra Baranski 5b2f20041c
Merge pull request #30 from eklitzke/istream
make Parser::Parse accept istreams instead of stringstream
2020-10-04 18:21:25 +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
Petra Baranski 19338d2b56 Merge pull request #28 from martin357/master
Added another character for bullet point("-", "+")
2020-02-08 07:54:56 +01: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
Petra Baranski 3b3e16a6bc
Merge pull request #25 from patrickelectric/breakline
breaklineparser
2019-12-19 13:29:15 +01:00
Patrick José Pereira a03ff9c33d definitions: Add break line
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-12-18 21:07:47 -03: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
Petra Baranski 0fb6de703d
Merge pull request #24 from patrickelectric/update_gtest
gtest: Use the last release version release-1.10.0
2019-12-14 13:35:04 +01:00
Patrick José Pereira 4e4e17d2c0 gtest: Use the last release version release-1.10.0
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-12-04 09:15:56 -03:00
M. Petra Baranski 59b808bf50 update readme one more time 2019-02-19 03:50:46 +01:00
M. Petra Baranski ab0872a6cb updated readme 2019-02-19 03:20:04 +01:00
Petra Baranski 7d5d311ecb
Merge pull request #19 from progsource/release_1.1.0
updated version info for 1.1.0
2019-02-19 03:12:53 +01:00
M. Petra Baranski 1f00ae90b2 updated version info for 1.1.0 2019-02-19 03:06:12 +01:00
Petra Baranski b167316d52
Merge pull request #18 from progsource/appveyor
try out appveyor
2019-02-19 02:51:43 +01:00
M. Petra Baranski 3484198ade appveyor - use debug 2019-02-19 02:43:15 +01:00
M. Petra Baranski c5c37a7627 appveyor - now? 2019-02-19 02:34:39 +01:00
M. Petra Baranski 0762f6cc5d appveyor - build this now.... 2019-02-19 02:31:16 +01:00
M. Petra Baranski 92db217966 appveyor - guess where the sln might be 2019-02-19 02:25:57 +01:00
M. Petra Baranski b5a6628f44 appveyor - try to specify sln 2019-02-19 02:23:21 +01:00
M. Petra Baranski 371dc41aff appveyor do cmake before build 2019-02-19 02:21:00 +01:00
M. Petra Baranski 519c81eaab appveyor in test_script it is already in tmp 2019-02-19 02:12:54 +01:00
M. Petra Baranski 77a74fef56 appveyor on init the repo isn't cloned yet 2019-02-19 02:10:38 +01:00
M. Petra Baranski 81090b8ca7 init submodules for appveyor 2019-02-19 02:09:23 +01:00
M. Petra Baranski 0b00ee7137 VS 15 is 2017 version... 2019-02-19 02:06:19 +01:00
M. Petra Baranski af6dd8f65a try out appveyor 2019-02-19 02:02:58 +01:00
Petra Baranski ab567fc2f1
Merge pull request #17 from patrickelectric/windows
blockparser: Add missing includes to fix msvc builds
2019-02-19 01:27:59 +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
Petra Baranski 8f0ec363fd
Merge pull request #12 from patrickelectric/travis
Update travis gcc version and add macox/clang test
2018-10-25 20:11: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
Patrick José Pereira 3c54e901c3 travis: Add macox/clang test
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-25 14:51:49 -03:00
Patrick José Pereira dae4b5bb35 travis: Move to gcc-7
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-25 14:51:49 -03:00
Petra Baranski 0af145ab8f
Merge pull request #15 from progsource/add-lineparser-dtro
added dtor to lineparser
2018-10-25 17:51:41 +02:00
M. Petra Baranski 8294841cf5 added dtor to lineparser 2018-10-25 17:45:52 +02:00
Petra Baranski e6bd0bdb4f
Merge pull request #14 from progsource/add-dtor
added BlockParser dtor
2018-10-25 17:35:40 +02:00
M. Petra Baranski 348532acb8 added BlockParser dtor 2018-10-25 17:26:25 +02:00