@@ -32,8 +32,8 @@ See below for examples.
3232### Global
3333
3434``` html
35- <script src =" https://unpkg.com/prettier@2.7.0 /standalone.js" ></script >
36- <script src =" https://unpkg.com/prettier@2.7.0 /parser-graphql.js" ></script >
35+ <script src =" https://unpkg.com/prettier@2.7.1 /standalone.js" ></script >
36+ <script src =" https://unpkg.com/prettier@2.7.1 /parser-graphql.js" ></script >
3737<script >
3838 prettier .format (" type Query { hello: String }" , {
3939 parser: " graphql" ,
@@ -48,8 +48,8 @@ Note that the [`unpkg` field](https://unpkg.com/#examples) in Prettier’s `pack
4848
4949``` html
5050<script type =" module" >
51- import prettier from " https://unpkg.com/prettier@2.7.0 /esm/standalone.mjs" ;
52- import parserGraphql from " https://unpkg.com/prettier@2.7.0 /esm/parser-graphql.mjs" ;
51+ import prettier from " https://unpkg.com/prettier@2.7.1 /esm/standalone.mjs" ;
52+ import parserGraphql from " https://unpkg.com/prettier@2.7.1 /esm/parser-graphql.mjs" ;
5353
5454 prettier .format (" type Query { hello: String }" , {
5555 parser: " graphql" ,
@@ -62,8 +62,8 @@ Note that the [`unpkg` field](https://unpkg.com/#examples) in Prettier’s `pack
6262
6363``` js
6464define ([
65- " https://unpkg.com/prettier@2.7.0 /standalone.js" ,
66- " https://unpkg.com/prettier@2.7.0 /parser-graphql.js" ,
65+ " https://unpkg.com/prettier@2.7.1 /standalone.js" ,
66+ " https://unpkg.com/prettier@2.7.1 /parser-graphql.js" ,
6767], (prettier , ... plugins ) => {
6868 prettier .format (" type Query { hello: String }" , {
6969 parser: " graphql" ,
@@ -88,8 +88,8 @@ This syntax doesn’t necessarily work in the browser, but it can be used when b
8888### Worker
8989
9090``` js
91- importScripts (" https://unpkg.com/prettier@2.7.0 /standalone.js" );
92- importScripts (" https://unpkg.com/prettier@2.7.0 /parser-graphql.js" );
91+ importScripts (" https://unpkg.com/prettier@2.7.1 /standalone.js" );
92+ importScripts (" https://unpkg.com/prettier@2.7.1 /parser-graphql.js" );
9393prettier .format (" type Query { hello: String }" , {
9494 parser: " graphql" ,
9595 plugins: prettierPlugins,
@@ -102,8 +102,8 @@ If you want to format [embedded code](options.md#embedded-language-formatting),
102102
103103``` html
104104<script type =" module" >
105- import prettier from " https://unpkg.com/prettier@2.7.0 /esm/standalone.mjs" ;
106- import parserBabel from " https://unpkg.com/prettier@2.7.0 /esm/parser-babel.mjs" ;
105+ import prettier from " https://unpkg.com/prettier@2.7.1 /esm/standalone.mjs" ;
106+ import parserBabel from " https://unpkg.com/prettier@2.7.1 /esm/parser-babel.mjs" ;
107107
108108 console .log (
109109 prettier .format (" const html=/* HTML */ `<DIV> </DIV>`" , {
@@ -119,9 +119,9 @@ The HTML code embedded in JavaScript stays unformatted because the `html` parser
119119
120120``` html
121121<script type =" module" >
122- import prettier from " https://unpkg.com/prettier@2.7.0 /esm/standalone.mjs" ;
123- import parserBabel from " https://unpkg.com/prettier@2.7.0 /esm/parser-babel.mjs" ;
124- import parserHtml from " https://unpkg.com/prettier@2.7.0 /esm/parser-html.mjs" ;
122+ import prettier from " https://unpkg.com/prettier@2.7.1 /esm/standalone.mjs" ;
123+ import parserBabel from " https://unpkg.com/prettier@2.7.1 /esm/parser-babel.mjs" ;
124+ import parserHtml from " https://unpkg.com/prettier@2.7.1 /esm/parser-html.mjs" ;
125125
126126 console .log (
127127 prettier .format (" const html=/* HTML */ `<DIV> </DIV>`" , {
0 commit comments