/**
* Academic style - Content layout
*/
import type { SlideLayout } from "../../../themes/types.js";
export const contentLayout: SlideLayout = {
name: "content",
description: "Free-form markdown content slide",
params: {
heading: {
type: "string",
description: "Slide heading",
required: true,
maxLength: 54,
},
body: {
type: "string",
description: "Free-form markdown body",
required: true,
},
},
template: (params) => {
return `## ${params.heading}\n\n${params.body}`;
},
};