Marko taglib for Accelerated Mobile Pages custom tags
npm install marko-ampAccelerated Mobile Pages taglib for MarkoJS
This library allows you to author a Marko template using Accelerated Mobile Pages tags that will be rendering depending on out.global.amp flag either to themthelves or to analog HTML tags. It's a work in progress.
We will implement only tags that have minimal or none runtime functionality as this taglibs aims to allow generating either AMP or HTML version of the page from the same Marko template.
- - must be inserted into of the template
-
- - must be accompained by in the document to correctly inject required script loader