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
Petra Baranski
d0dae091e0
chore: Add clang-format
2024-11-16 05:50:22 +01:00
Petra Baranski
65730beffa
chore: update version to 1.3.0
2023-08-26 13:28:28 +02:00
Petra Baranski
ce81283b26
feat: enable optional inline parsing in headlines
2023-08-26 13:03:35 +02:00
Petra Baranski
231785ff2d
chore: update version to 1.2.1
2023-08-06 13:31:18 +02:00
Ivans Saponenko
9bcb7ce6dd
Refactored version() function in Parser class due to clashes with defines
2023-08-01 11:19:31 +03:00
Petra Baranski
123b921f2a
style: make regex strings more readable
2023-07-27 18:48:03 +02:00
Petra Baranski
02d3ccaf22
docs: update version number
2023-07-27 18:47:50 +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
Albert S
a28769be2b
italicparser: Parse(): Add static keyword to regex
...
In line with the other parsers, add the static keyword to the
regex.
2021-04-18 20:24:26 +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