yari icon indicating copy to clipboard operation
yari copied to clipboard

Add support for polyfill YAML header

Open teoli2003 opened this issue 3 years ago • 0 comments

This is the unblocking PR for one of our Quarterly projects: we want to store polyfills only inside a YAML entry (polyfills) and display a sentence about them below the Compat Table.

This PR:

  • create and read the YAML Key
  • add a React subsection below the Compat table.
  • populate this subsection with a sentence and a link.

We only authorize URLs from an allowlist to be used for this YAML header. We extend it a bit, but it should already cover the whole of web/javascript.

teoli2003 avatar Aug 17 '22 12:08 teoli2003