Home > Backend Development > PHP Tutorial > markdown How to get the text content of markdown

markdown How to get the text content of markdown

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2023-03-02 07:20:01
Original
2204 people have browsed it

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

Reply content:

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

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Composer cannot install laravel
From 1970-01-01 08:00:00
0
0
0
Laravel Space/laravel-backup cannot be installed
From 1970-01-01 08:00:00
0
0
0
Laravel 5.1 Login laravel comes with it No more
From 1970-01-01 08:00:00
0
0
0
Why thinkphp has better performance than laravel?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template