content-clear

1.1.2 • Public • Published

content-clear

Clear, clean, readable content.

Screenshots

light mode

How to use

Simply use build/style-min.css in your HTML file. content-clear will automatically transform all <article>s.

Example schema:

<html>
    <head>
        <!-- Include the CSS -->
    </head>
    <body>
        <article>
            <h1>Title</h1>
            <p>This is some <strong>content</strong>!</p>
        </article>
    </body>
</html>

Output:

output

API usage

First, install from NPM:

npm i content-clear --save

Then, use it in your project:

import contentClear from 'content-clear';

console.log(contentClear.location); // Output build location

contentClear.content().then(console.log); // Output built CSS

Readme

Keywords

none

Package Sidebar

Install

npm i content-clear

Weekly Downloads

1

Version

1.1.2

License

MIT

Last publish

Collaborators

  • justinoboyle