Update default-theme-carbon-ads.md

pull/4060/head
Polaris 1 year ago committed by GitHub
parent 176e9cd44c
commit 5185fc8693
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,6 +1,6 @@
# Carbon Ads # Carbon Ads
VitePress has built in native support for [Carbon Ads](https://www.carbonads.net/). By defining the Carbon Ads credentials in config, VitePress will display ads on the page. VitePress has built-in native support for [Carbon Ads](https://www.carbonads.net/). By defining the Carbon Ads credentials in the config, VitePress will display ads on the page.
```js ```js
export default { export default {
@ -13,10 +13,10 @@ export default {
} }
``` ```
These values are used to call carbon CDN script as shown below. These values are used to call the carbon CDN script, as shown below:
```js ```js
`//cdn.carbonads.com/carbon.js?serve=${code}&placement=${placement}` `//cdn.carbonads.com/carbon.js?serve=${code}&placement=${placement}`
``` ```
To learn more about Carbon Ads configuration, please visit [Carbon Ads website](https://www.carbonads.net/). To learn more about Carbon Ads configuration, please visit the [Carbon Ads website](https://www.carbonads.net/).

Loading…
Cancel
Save