A function to convert HTML markup into AMP html
npm install ampifyjsConverts static HTML to AMP-ready HTML. This is a work in progress and is currently fairly narrow.
```
yarn add ampify
`
const ampify = require('ampifyjs');
const someHTML = '...';
ampify(someHTML, '/url-to-original-page', ($) => {
// Do anything you want here to the AMP page using jQuery syntax from cheerio
// For example, lets add Google Analytics
$('head').append('');
$('body').prepend('
\
})
``
- All of your image tags must have heights and widths