MarketingPipeline / Markdown-Tag

Render Markdown to HTML on any website using a md tag
GNU General Public License v3.0
416 stars 20 forks source link

Whitelist / Blacklist Markdown features #4

Closed solidevolution closed 2 years ago

solidevolution commented 2 years ago

Suggestion / Feature Request

We often have the use case, that we got styled content (html or markdown) from external systems. Mostly the features are restricted by the cms editor but we have to ensure that we restrict markdown features for the content editor.

As example, we only want bold formatting and links but not the possibility to use paragraphs, breaks, headlines or images.

MarketingPip commented 2 years ago

This is NOT the purpose of this project. The purpose of this project is to style the content in 100% true flavor of the syntax style chosen.

Tho - to achieve this your best option would just be modifying this script by changing the markdown parser options to your own personal needs. For any further questions on that - seek documentation / help from the Markdown Parser you use.

Marking this as closed.