simple-article-takeover

Take over PL (Presentation Later) articles full-width with a single div.

Usage no npm install needed!

<script type="module">
  import simpleArticleTakeover from 'https://cdn.skypack.dev/simple-article-takeover';
</script>

README

simPLe-article-takeover

Take over PL (Presentation Later) articles full-width with a single div.

eg.

Usage

In console:

$ npm install simple-article-takeover

In JS:

import takeover from "simple-article-takeover"

// In an async function
await takeover()
// ... other stuff happens

// Can set a custom class on the div
or await takeover({ addClass: "article-container" })