From 2843cc352023b07667c183463256d15bbfd41bf1 Mon Sep 17 00:00:00 2001 From: BentiGorlich Date: Mon, 9 Dec 2024 13:21:22 +0100 Subject: [PATCH] Add strikethrough support Add a new optional converter `StrikethroughConverter`, mention it in the readme and add tests for it --- README.md | 17 ++++++- src/Converter/StrikethroughConverter.php | 58 ++++++++++++++++++++++++ tests/HtmlConverterTest.php | 12 +++++ 3 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 src/Converter/StrikethroughConverter.php diff --git a/README.md b/README.md index 6bce00a..16bc88c 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ The included `demo` directory contains an HTML->Markdown conversion form to try ### Conversion options -> [!CAUTION] +> [!CAUTION] > By default, this library preserves HTML tags without Markdown equivalents, like ``, `
`, `