import { highlightAll } from "https://deno.land/x/frugal@0.5.0/docs/dep/prism.ts";
This is the most high-level function in Prism’s API.
It fetches all the elements that have a .language-xxxx
class and then calls Prism.highlightElement on
each one of them.
This is equivalent to Prism.highlightAllUnder(document, async, callback)
.
Parameters
optional
callback: HighlightCallback