-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove markdown #413
Comments
The Parsedown code is easy to read and extendable (see the wiki), just do your own extension for that kind of features. |
@basith374 you probably need something similar to this https:/stiang/remove-markdown, but in PHP. You could reuse the logic in there and implement it in PHP. I agree with @Exagone313 that you could just implement this logic as an extension for your use-case and probably sharing it with the parsedown community as well. |
Using PHP:
|
Interestingly once #576 is ready, as an extension it will be possible to traverse the AST after markdown parsing is finished and pick out only text, or even other relevant bits of data too (e.g. if you wanted to include image descriptions, say). This should be relatively easy to implement once the AST is available. |
can we get this feature? i want parsedown to remove markdown & convert to plain text
The text was updated successfully, but these errors were encountered: