showdownjs/showdown

Clean markdown characters, leave only clean text.

开放

#829 创建于 2020年9月25日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (1,640 个派生)batch import
help wanted

仓库指标

星标
 (13,700 个星标)
PR 合并指标
 (平均合并 15小时 21分钟) (30 天内合并 3 个 PR)

描述

I want to make an html element on my website that is responsible for displaying news articles. I am only displaying title and sample of the article content as preview.If user wants to read full article he can switch mode to see all the content with markdown parsed as html.

Value of the article content is stored as markdown and is converted to HTML on the client side.

I would like to make sample of article content as simple as it can be, stripped of any special markdown characters. Is there any simple solution to strip these characters and leave only simple text?

Isomorphic-Router-Demo-news-preview

Isomorphic-Router-Demo-news-fullview

Is it worth to make an extension for such usecase?

贡献者指南