showdownjs/showdown

Clean markdown characters, leave only clean text.

Open

#829 aberto em 25 de set. de 2020

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (1.640 forks)batch import
help wanted

Métricas do repositório

Stars
 (13.700 stars)
Métricas de merge de PR
 (Mesclagem média 15h 21m) (3 fundiu PRs em 30d)

Description

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?

Guia do colaborador