The markdown template I use on new book projects. For a short explanaition chekc https://diegocarrasco.com/writing-useful-books-template/
There are 2 types of motivations according to the book.
Fill the table with your notes.
/** | |
* sanitizeHtmlForTelegram | |
* | |
* I am using ActivePieces.com to publish a telegram message using the API, but ince the last API update the HTML tags | |
* and Markdown support is limited. To make the automation easier (by using the same string in many elemetns) I needed | |
* a way to sanitize the string to use it for Telegram. | |
* Here is such a function. | |
* | |
* This function sanitizes a given HTML string to ensure compatibility with the Telegram API's supported HTML tags. | |
* It removes all unsupported HTML tags and retains only those that are allowed by Telegram, such as <b>, <i>, <a>, etc. |
The markdown template I use on new book projects. For a short explanaition chekc https://diegocarrasco.com/writing-useful-books-template/
There are 2 types of motivations according to the book.
Fill the table with your notes.