Return the names of the currently registered syntaxes.
Return a pretty printed version of the provided text using the specified syntax.
the text to prettify.
the syntax to use.
Register a new syntax.
The recommended way to define a new language syntax plugin is to follow the instructions here:
https://prettier.io/docs/plugins#developing-plugins
There is a list of already defined languages available for import here:
the name used to refer to the syntax.
the definition for the syntax conforming to the Prettier plugin interface.
Service providing syntax based pretty printing of text for the CLI using prettier.