import type { TCodeExampleIO } from "../../_models/t-code-example-io";
const FootnotesHeadingDefaultExample: TCodeExampleIO = {
from: `"footnotesHeading": {
"enabled": true,
"element": {
"name": "h2",
"content": "Footnotes"
}
}`,
to: `
Footnotes
`,
};
const FootnotesHeadingCustomElementExample: TCodeExampleIO = {
from: `"footnotesHeading": {
"enabled": true,
"element": {
"name": "div",
"content": "Footnotes"
}
}`,
to: `
Footnotes
`,
};
const FootnotesHeadingCustomAttrsExample: TCodeExampleIO = {
from: `"footnotesHeading": {
"enabled": true,
"element": {
"name": "h2",
"content": "Footnotes",
"attrs": {
"class": "footnotes-heading",
"data-foo": "bar"
}
}
}`,
to: ``,
}
const FootnotesHeadingCustomContentExample: TCodeExampleIO = {
from: `"footnotesHeading": {
"enabled": true,
"element": {
"name": "h2",
"content": "Notes"
}
}`,
to: `
Notes
`,
}
export {
FootnotesHeadingCustomAttrsExample,
FootnotesHeadingCustomContentExample,
FootnotesHeadingCustomElementExample,
FootnotesHeadingDefaultExample
};