-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This also adds Prettier support and makes empty `options.json` files redundant.
- Loading branch information
1 parent
279fc46
commit 6c4e199
Showing
14 changed files
with
176 additions
and
78 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
/*@jsxRuntime automatic @jsxImportSource react*/ | ||
export const frontmatter = { | ||
"title": "Hello frontmatter", | ||
"index": 1, | ||
"nested": { | ||
"data": { | ||
"structure": { | ||
"including": { | ||
"numbers": 42, | ||
"booleans": true, | ||
"": null, | ||
"arrays": ["of", "items"] | ||
title: 'Hello frontmatter', | ||
index: 1, | ||
nested: { | ||
data: { | ||
structure: { | ||
including: { | ||
numbers: 42, | ||
booleans: true, | ||
'': null, | ||
arrays: ['of', 'items'] | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
function _createMdxContent(props) { | ||
return <></>; | ||
return <></> | ||
} | ||
export default function MDXContent(props = {}) { | ||
const {wrapper: MDXLayout} = props.components || ({}); | ||
return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent(props); | ||
const { wrapper: MDXLayout } = props.components || {} | ||
return MDXLayout ? ( | ||
<MDXLayout {...props}> | ||
<_createMdxContent {...props} /> | ||
</MDXLayout> | ||
) : ( | ||
_createMdxContent(props) | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
/*@jsxRuntime automatic @jsxImportSource react*/ | ||
export const frontmatter = { | ||
"title": "Hello frontmatter", | ||
"index": 1, | ||
"nested": { | ||
"data": { | ||
"structure": { | ||
"including": { | ||
"numbers": 42, | ||
"booleans": true, | ||
"": null, | ||
"arrays": ["of", "items"] | ||
title: 'Hello frontmatter', | ||
index: 1, | ||
nested: { | ||
data: { | ||
structure: { | ||
including: { | ||
numbers: 42, | ||
booleans: true, | ||
'': null, | ||
arrays: ['of', 'items'] | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
function _createMdxContent(props) { | ||
return <></>; | ||
return <></> | ||
} | ||
export default function MDXContent(props = {}) { | ||
const {wrapper: MDXLayout} = props.components || ({}); | ||
return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent(props); | ||
const { wrapper: MDXLayout } = props.components || {} | ||
return MDXLayout ? ( | ||
<MDXLayout {...props}> | ||
<_createMdxContent {...props} /> | ||
</MDXLayout> | ||
) : ( | ||
_createMdxContent(props) | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
/*@jsxRuntime automatic @jsxImportSource react*/ | ||
export const frontmatter = null; | ||
export const frontmatter = null | ||
function _createMdxContent(props) { | ||
return <></>; | ||
return <></> | ||
} | ||
export default function MDXContent(props = {}) { | ||
const {wrapper: MDXLayout} = props.components || ({}); | ||
return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent(props); | ||
const { wrapper: MDXLayout } = props.components || {} | ||
return MDXLayout ? ( | ||
<MDXLayout {...props}> | ||
<_createMdxContent {...props} /> | ||
</MDXLayout> | ||
) : ( | ||
_createMdxContent(props) | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,29 @@ | ||
/*@jsxRuntime automatic @jsxImportSource react*/ | ||
export const frontmatter = { | ||
__proto__: null, | ||
"title": "Hello TOML" | ||
}; | ||
title: 'Hello TOML' | ||
} | ||
function _createMdxContent(props) { | ||
const _components = { | ||
h1: "h1", | ||
p: "p", | ||
h1: 'h1', | ||
p: 'p', | ||
...props.components | ||
}; | ||
return <><_components.h1>{"Hello, World"}</_components.h1>{"\n"}<_components.p>{"Some content"}</_components.p></>; | ||
} | ||
return ( | ||
<> | ||
<_components.h1>{'Hello, World'}</_components.h1> | ||
{'\n'} | ||
<_components.p>{'Some content'}</_components.p> | ||
</> | ||
) | ||
} | ||
export default function MDXContent(props = {}) { | ||
const {wrapper: MDXLayout} = props.components || ({}); | ||
return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent(props); | ||
const { wrapper: MDXLayout } = props.components || {} | ||
return MDXLayout ? ( | ||
<MDXLayout {...props}> | ||
<_createMdxContent {...props} /> | ||
</MDXLayout> | ||
) : ( | ||
_createMdxContent(props) | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
/*@jsxRuntime automatic @jsxImportSource react*/ | ||
export const frontmatter = { | ||
__proto__: null, | ||
"title": "Hello TOML" | ||
}; | ||
title: 'Hello TOML' | ||
} | ||
function _createMdxContent(props) { | ||
return <></>; | ||
return <></> | ||
} | ||
export default function MDXContent(props = {}) { | ||
const {wrapper: MDXLayout} = props.components || ({}); | ||
return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent(props); | ||
const { wrapper: MDXLayout } = props.components || {} | ||
return MDXLayout ? ( | ||
<MDXLayout {...props}> | ||
<_createMdxContent {...props} /> | ||
</MDXLayout> | ||
) : ( | ||
_createMdxContent(props) | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
/*@jsxRuntime automatic @jsxImportSource react*/ | ||
export const frontmatter = undefined; | ||
export const frontmatter = undefined | ||
function _createMdxContent(props) { | ||
return <></>; | ||
return <></> | ||
} | ||
export default function MDXContent(props = {}) { | ||
const {wrapper: MDXLayout} = props.components || ({}); | ||
return MDXLayout ? <MDXLayout {...props}><_createMdxContent {...props} /></MDXLayout> : _createMdxContent(props); | ||
const { wrapper: MDXLayout } = props.components || {} | ||
return MDXLayout ? ( | ||
<MDXLayout {...props}> | ||
<_createMdxContent {...props} /> | ||
</MDXLayout> | ||
) : ( | ||
_createMdxContent(props) | ||
) | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters