atapas / markdown-cheatsheet

A single place for all the markdown syntaxes I have learned so far.
https://tapasadhikary.com
MIT License
219 stars 75 forks source link

Raw HTML Depends on Markdown Processor #71

Open fluentmoheshwar opened 10 months ago

fluentmoheshwar commented 10 months ago

Is your feature request related to a problem? Please describe. Some users may face issues if they are using a markdown processor that doesn't allows using HTML or allows using subset of HTML.

Describe the solution you'd like I would like to add:

For security reasons, not all Markdown processor's support HTML in Markdown documents. When in doubt, check your Markdown processor's documentation. Some applications support only a subset of HTML tags.

Use blank lines to separate block-level HTML elements like <div>, <table>, <pre>, and <p> from the surrounding content. Try not to indent the tags with tabs or spaces — that can interfere with the formatting.

You can’t use Markdown syntax inside block-level HTML tags. For example, <p>italic and **bold**</p> won’t work.

Most Markdown processors doesn't allows using JavaScript.

Describe alternatives you've considered I haven't considered any alternative.

Additional context I found this info from: https://www.markdownguide.org/basic-syntax/#html