From 142287acb8f4d0a00051bc8e381290304527d262 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Thu, 3 Nov 2022 13:38:50 -0700 Subject: [PATCH] Fix invalid markdown lang --- docs/basic-features/font-optimization.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/basic-features/font-optimization.md b/docs/basic-features/font-optimization.md index ac5119f923729da..ebbf1f075560585 100644 --- a/docs/basic-features/font-optimization.md +++ b/docs/basic-features/font-optimization.md @@ -91,17 +91,18 @@ export default function MyApp({ Component, pageProps }) { To use the font on a single page, add it to the specific page as shown below: -```js:pages/index.js -import { Inter } from '@next/font/google'; +```js +// pages/index.js +import { Inter } from '@next/font/google' -const inter = Inter(); +const inter = Inter() export default function Home() { return (

Hello World

- ); + ) } ```