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?

貢獻者指南