Skip to content

Postxml plugin replace `<link>` with `<style>` and import css-code.

Notifications You must be signed in to change notification settings

postxml/postxml-import-styles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postxml-import-styles

npm version

PostXML plugin replace <link> with <style> and import css-code/

Installation

npm i postxml-import-styles --save-dev

Usage

Postxml

Options

cwd

Type: string
Default: ''

Example

Input

<link href="styles.css">

styles.css

body{
	display: none;
	overflow: hidden;
}

Output

<style>body{
	display: none;
	overflow: hidden;
}</style>

Licence

MIT

About

Postxml plugin replace `<link>` with `<style>` and import css-code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published