Skip to content

Commit 812429f

Browse files
authored
Update README.md
1 parent 6aaf7e9 commit 812429f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ HelmetProvider.canUseDOM = false;
131131
It is understood that in some cases for SEO, certain tags should appear earlier in the HEAD. Using the `prioritizeSeoTags` flag on any `<Helmet>` component allows the server render of react-helmet-async to expose a method for prioritizing relevant SEO tags.
132132

133133
In the component:
134-
```
134+
```javascript
135135
<Helmet prioritizeSeoTags>
136136
<title>A fancy webpage</title>
137137
<link rel="notImportant" href="https://www.chipotle.com" />
@@ -143,7 +143,7 @@ In the component:
143143

144144
In your server template:
145145

146-
```
146+
```javascript
147147
<html>
148148
<head>
149149
${helmet.title.toString()}
@@ -158,7 +158,7 @@ In your server template:
158158

159159
Will result in:
160160

161-
```
161+
```html
162162
<html>
163163
<head>
164164
<title>A fancy webpage</title>

0 commit comments

Comments
 (0)