Commit Graph
28 Commits
Author SHA1 Message Date
github-actions 48347d3963 Update dependency versions 2025-05-01 01:01:47 +00:00
Lucian Smith 2a00c9fb0b Add regex for title text version of links
* Add regex for title text version of links

Original parser matched:
  [name](http:://link)

Add match for:
  [name](http:://link "title text")

* Add tests and improve regex's
* Several new tests in test_maddy_linkparser.cpp  (Some with paths for future improvement, and one to ensure an overzealous future update doesn't disallow actually-used special characters like o-umlaut).
* URLs now ignore leading/trailing spaces.
* URLs now don't match on internal spaces or quotes.
* Small grammar fix in CONTRIBUTING.md
* Updated changelog.
2025-04-20 18:45:27 +02:00
Petra Baranski 100eb59bc8 Release 1.4.0
* up version to 1.4.0
* Remove deprecated code
* change release message
2025-03-28 05:04:55 +01:00
Petra Baranski 4518e402c7 Fix linkparser line handling with multiple parenthesis 2025-03-28 03:37:04 +01:00
a5b18310a8 Update dependency versions (#67)
run-checks / run-clang-format (push) Has been cancelled
run-tests / test-on-ubuntu (push) Has been cancelled
run-tests / test-on-windows (push) Has been cancelled
run-tests / test-on-osx (push) Has been cancelled
* Update dependency versions
* update changelog

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: Petra Baranski <[email protected]>
2025-03-01 14:19:35 +01:00
github-actions[bot]andgithub-actions 8aa290cd38 Update dependency versions
Co-authored-by: github-actions <[email protected]>

* googletest v1.15.2
2024-11-16 06:46:02 +01:00
Petra Baranski d0dae091e0 chore: Add clang-format 2024-11-16 05:50:22 +01:00
Petra Baranski 1f12bc15b6 Update GoogleTest to v1.15.0 2024-07-20 13:46:24 +02:00
Petra Baranski ce81283b26 feat: enable optional inline parsing in headlines 2023-08-26 13:03:35 +02:00
Petra Baranski baa5c9ccd0 ci: create release workflow 2023-07-27 18:48:03 +02:00
Petra Baranski 01d1e48d11 feat: add optional latex block support 2023-07-27 14:51:56 +02:00
Petra Baranski a1001cb991 feat: add class to block code 2023-07-24 20:35:05 +02:00
Petra Baranski 41396ab246 feat: add config options to en-/disable each parser
Also fix cmake line, so that ctest can find the test executable;
update readme.
2023-07-23 17:51:03 +02:00
Petra Baranski 87ec259c28 build: add option for running tests
cmake configuration for running tests is now in the
tests folder.

Add option in main cmake file that has to be set to
ON and only build the tests in that case.

Update appveyor and travis ci configurations accordingly.
2023-07-23 06:04:34 +02:00
Drew Mettlach cde0137e90 orderedlistparser: Add parsing support for fully numeric markdown lists 2020-10-03 17:22:21 -05: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
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 <[email protected]>
2019-12-16 11:10:25 -03:00
Patrick José Pereira c7eef2b34a test_maddy_parser: Add italic test
Signed-off-by: Patrick José Pereira <[email protected]>
2018-10-25 12:01:25 -03:00
Petra Baranski 78652f64d5 Merge branch 'master' into add_italic 2018-10-25 16:42:33 +02:00
Patrick José Pereira 2562d780b8 test_maddy_parser: Update main test with emphasized tag
Signed-off-by: Patrick José Pereira <[email protected]>
2018-10-25 11:36:22 -03:00
Patrick José Pereira 6e7aec7947 test_maddy_emphasizedparser: Update tests
Signed-off-by: Patrick José Pereira <[email protected]>
2018-10-25 11:36:22 -03:00
Patrick José Pereira e8ba8f661a test_maddy_italicparser: Add tests for the italic parser
Signed-off-by: Patrick José Pereira <[email protected]>
2018-10-25 11:36:22 -03:00
Patrick José Pereira 62365f1c7c test_maddy_strongparser: Add tests to __ tag
Signed-off-by: Patrick José Pereira <[email protected]>
2018-10-25 11:34:12 -03:00
M. Petra Baranski 91e62beaec added travis.yml 2017-12-26 11:42:57 +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