I'm writing a Ruby app and it currently uses redcarpet to render Markdown.
I need to strip Markdown markup from a text. Any easy way to do it?
I'm writing a Ruby app and it currently uses redcarpet to render Markdown.
I need to strip Markdown markup from a text. Any easy way to do it?
Copyright © 2021 Jogjafile Inc.
Yes, it's possible with the
Redcarpet::Render::StripDown
Class -> https://rubydoc.info/gems/redcarpet/Redcarpet/Render/StripDownIt says "Turns Markdown into plaintext"