mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 16:29:47 +02:00
feat(mdx): add siteConfig.markdown.format to configure the default content parser (MDX / CommonMark) (#9097)
This commit is contained in:
parent
be4e67caa9
commit
cc6d9696f0
21 changed files with 304 additions and 83 deletions
|
@ -20,7 +20,7 @@ Provide global meta attributes for the entire site through the [site configurati
|
|||
module.exports = {
|
||||
themeConfig: {
|
||||
metadata: [{name: 'keywords', content: 'cooking, blog'}],
|
||||
// This would become <meta name="keywords" content="cooking, blog"> in the generated HTML
|
||||
// This would become <meta name="keywords" content="cooking, blog"/> in the generated HTML
|
||||
},
|
||||
};
|
||||
```
|
||||
|
@ -37,7 +37,7 @@ Similar to [global metadata](#global-metadata), Docusaurus also allows for the a
|
|||
# A cooking guide
|
||||
|
||||
<head>
|
||||
<meta name="keywords" content="cooking, blog">
|
||||
<meta name="keywords" content="cooking, blog"/>
|
||||
</head>
|
||||
|
||||
Some content...
|
||||
|
|
|
@ -20,7 +20,7 @@ Provide global meta attributes for the entire site through the [site configurati
|
|||
module.exports = {
|
||||
themeConfig: {
|
||||
metadata: [{name: 'keywords', content: 'cooking, blog'}],
|
||||
// This would become <meta name="keywords" content="cooking, blog"> in the generated HTML
|
||||
// This would become <meta name="keywords" content="cooking, blog"/> in the generated HTML
|
||||
},
|
||||
};
|
||||
```
|
||||
|
@ -37,7 +37,7 @@ Similar to [global metadata](#global-metadata), Docusaurus also allows for the a
|
|||
# A cooking guide
|
||||
|
||||
<head>
|
||||
<meta name="keywords" content="cooking, blog">
|
||||
<meta name="keywords" content="cooking, blog"/>
|
||||
</head>
|
||||
|
||||
Some content...
|
||||
|
|
|
@ -20,7 +20,7 @@ Provide global meta attributes for the entire site through the [site configurati
|
|||
module.exports = {
|
||||
themeConfig: {
|
||||
metadata: [{name: 'keywords', content: 'cooking, blog'}],
|
||||
// This would become <meta name="keywords" content="cooking, blog"> in the generated HTML
|
||||
// This would become <meta name="keywords" content="cooking, blog"/> in the generated HTML
|
||||
},
|
||||
};
|
||||
```
|
||||
|
@ -37,7 +37,7 @@ Similar to [global metadata](#global-metadata), Docusaurus also allows for the a
|
|||
# A cooking guide
|
||||
|
||||
<head>
|
||||
<meta name="keywords" content="cooking, blog">
|
||||
<meta name="keywords" content="cooking, blog"/>
|
||||
</head>
|
||||
|
||||
Some content...
|
||||
|
|
|
@ -20,7 +20,7 @@ Provide global meta attributes for the entire site through the [site configurati
|
|||
module.exports = {
|
||||
themeConfig: {
|
||||
metadata: [{name: 'keywords', content: 'cooking, blog'}],
|
||||
// This would become <meta name="keywords" content="cooking, blog"> in the generated HTML
|
||||
// This would become <meta name="keywords" content="cooking, blog"/> in the generated HTML
|
||||
},
|
||||
};
|
||||
```
|
||||
|
@ -37,7 +37,7 @@ Similar to [global metadata](#global-metadata), Docusaurus also allows for the a
|
|||
# A cooking guide
|
||||
|
||||
<head>
|
||||
<meta name="keywords" content="cooking, blog">
|
||||
<meta name="keywords" content="cooking, blog"/>
|
||||
</head>
|
||||
|
||||
Some content...
|
||||
|
|
|
@ -20,7 +20,7 @@ Provide global meta attributes for the entire site through the [site configurati
|
|||
module.exports = {
|
||||
themeConfig: {
|
||||
metadata: [{name: 'keywords', content: 'cooking, blog'}],
|
||||
// This would become <meta name="keywords" content="cooking, blog"> in the generated HTML
|
||||
// This would become <meta name="keywords" content="cooking, blog"/> in the generated HTML
|
||||
},
|
||||
};
|
||||
```
|
||||
|
@ -37,7 +37,7 @@ Similar to [global metadata](#global-metadata), Docusaurus also allows for the a
|
|||
# A cooking guide
|
||||
|
||||
<head>
|
||||
<meta name="keywords" content="cooking, blog">
|
||||
<meta name="keywords" content="cooking, blog"/>
|
||||
</head>
|
||||
|
||||
Some content...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue