showdownjs/showdown

Inlining css classes and global styles

Open

#860 opened on Aug 25, 2021

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (13,700 stars) (1,640 forks)batch import
help wanted

Description

I am wondering is there any built-in functionality that may help to inline css?

What I want to achieve is to get rid of all css classes and global styles to bring all the styles inline.

This process is taking place withing a browser right after showdown produces a raw html.

It is seems that I need to write a custom extension to achieve that.

Any hints?

Contributor guide