Home > Article > Backend Development > markdown How to get the text content of markdown
How to get the markdown text is to get the text content of the label, because sometimes the general content of the knowledge text that needs to be presented does not require the stitching style
I use the one here
markdown library laravel-5-markdown-editor
How to get the markdown text is to get the text content of the label, because sometimes the general content of the knowledge text that needs to be presented does not require the stitching style
I use the one here
markdown library laravel-5-markdown-editor
Isn’t it possible to parse markdown into html format first, and then use the php function to remove the html tag? strip_tags
Since the one above cannot satisfy you, then use your own regular expression to filter the markdown format