const { contentAsText } = require('../helpers.js') const marked = require('marked') const FOOTER_TEXT = ` Maintained by the Terrace Team. Find an issue? [Let us know](/issues)! Site contents licensed under the [CC BY 3.0 license](https://creativecommons.org/licenses/by/3.0/)
All code examples licensed under the [MIT license](https://opensource.org/licenses/MIT) ` module.exports = async function (doc, rootLevel) { const { next, line, match, tail, level, head } = doc const node = { type: `Markdown`, class: 'text-center mt-32 mx-auto text-neutral-50/75 prose-a:text-primary-100/75', text: marked.parse(FOOTER_TEXT) } return node }