Skip to content

Commit

Permalink
update footnote snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 26, 2023
1 parent 4b4b639 commit 8d48c3d
Showing 1 changed file with 21 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`footnoteIDFixer remark plugin appends a hash to each footnote def/ref 1`] = `
"/*@jsxRuntime automatic @jsxImportSource react*/
import {Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs} from "react/jsx-runtime";
"import {Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs} from "react/jsx-runtime";
function _createMdxContent(props) {
const _components = Object.assign({
p: "p",
sup: "sup",
const _components = {
a: "a",
section: "section",
h2: "h2",
li: "li",
ol: "ol",
li: "li"
}, props.components);
p: "p",
section: "section",
sup: "sup",
...props.components
};
return _jsxs(_Fragment, {
children: [_jsxs(_components.p, {
children: ["foo", _jsx(_components.sup, {
Expand Down Expand Up @@ -57,9 +57,9 @@ function _createMdxContent(props) {
children: ["/n", _jsxs(_components.p, {
children: ["foo ", _jsx(_components.a, {
href: "#user-content-fnref-1-[HASH]",
"data-footnote-backref": true,
"data-footnote-backref": "",
"aria-label": "Back to reference 1",
className: "data-footnote-backref",
"aria-label": "Back to content",
children: ""
})]
}), "/n"]
Expand All @@ -68,9 +68,9 @@ function _createMdxContent(props) {
children: ["/n", _jsxs(_components.p, {
children: ["foo ", _jsx(_components.a, {
href: "#user-content-fnref-2-[HASH]",
"data-footnote-backref": true,
"data-footnote-backref": "",
"aria-label": "Back to reference 2",
className: "data-footnote-backref",
"aria-label": "Back to content",
children: ""
})]
}), "/n"]
Expand All @@ -79,9 +79,9 @@ function _createMdxContent(props) {
children: ["/n", _jsxs(_components.p, {
children: ["foo ", _jsx(_components.a, {
href: "#user-content-fnref-3-[HASH]",
"data-footnote-backref": true,
"data-footnote-backref": "",
"aria-label": "Back to reference 3",
className: "data-footnote-backref",
"aria-label": "Back to content",
children: ""
})]
}), "/n"]
Expand All @@ -90,12 +90,14 @@ function _createMdxContent(props) {
})]
});
}
function MDXContent(props = {}) {
export default function MDXContent(props = {}) {
const {wrapper: MDXLayout} = props.components || ({});
return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {
children: _jsx(_createMdxContent, props)
})) : _createMdxContent(props);
return MDXLayout ? _jsx(MDXLayout, {
...props,
children: _jsx(_createMdxContent, {
...props
})
}) : _createMdxContent(props);
}
export default MDXContent;
"
`;

0 comments on commit 8d48c3d

Please sign in to comment.