From 653a354decddd528707c8c533ec400307a8970f8 Mon Sep 17 00:00:00 2001 From: Luna <82669166+Lunanuuu@users.noreply.github.com> Date: Tue, 30 Jul 2024 14:09:55 +0200 Subject: [PATCH 1/2] Add HTML to Markdown conversion for Discord embeds ### Description Add the `convertHtmlToMarkdown` function to convert HTML content into Markdown format to increase the quality of the Discord Webhook feature. 1. **Anchor Tags (``)**: Converts links to Markdown links - Example: `Example` becomes `[Example](https://www.example.com)` 2. **Headings (`

` to `

`)**: Converts HTML headings to Markdown headings, with a maximum of three `#` characters - Example: `

Title

` becomes `# Title` 3. **Unordered Lists (`