import type { TCodeExampleIO } from "../../_models/t-code-example-io";
const EndnotesHeadingDefaultExample: TCodeExampleIO = {
from: `"endnotesHeading": {
"enabled": true,
"element": {
"name": "h2",
"content": "Endnotes"
}
}`,
to: `
Endnotes
`,
};
const EndnotesHeadingCustomElementExample: TCodeExampleIO = {
from: `"endnotesHeading": {
"enabled": true,
"element": {
"name": "div",
"content": "Endnotes"
}
}`,
to: `
Endnotes
`,
};
const EndnotesHeadingCustomAttrsExample: TCodeExampleIO = {
from: `"endnotesHeading": {
"enabled": true,
"element": {
"name": "h2",
"content": "Endnotes",
"attrs": {
"class": "endnotes-heading",
"data-foo": "bar"
}
}
}`,
to: `
Endnotes
`,
}
const EndnotesHeadingCustomContentExample: TCodeExampleIO = {
from: `"endnotesHeading": {
"enabled": true,
"element": {
"name": "h2",
"content": "Notes"
}
}`,
to: `
Notes
`,
}
export {
EndnotesHeadingCustomAttrsExample,
EndnotesHeadingCustomContentExample,
EndnotesHeadingCustomElementExample,
EndnotesHeadingDefaultExample
};