import type { CodeField } from '../../payload-types.js' export const codeDoc: Partial = { css: `@import url(https://fonts.googleapis.com/css?family=Questrial); @import url(https://fonts.googleapis.com/css?family=Arvo); @font-face { src: url(https://lea.verou.me/logo.otf); font-family: 'LeaVerou'; } /* Shared styles */ section h1, #features li strong, header h2, footer p { font: 100% Rockwell, Arvo, serif; } /* Styles */ * { margin: 0; padding: 0; } body { font: 100%/1.5 Questrial, sans-serif; tab-size: 4; hyphens: auto; } a { color: inherit; } section h1 { font-size: 250%; }`, html: ` Prism `, javascript: "console.log('Hello');", json: JSON.stringify({ arr: ['val1', 'val2', 'val3'], property: 'value' }, null, 2), typescript: `class Greeter { greeting: string; constructor(message: string) { this.greeting = message; } greet() { return "Hello, " + this.greeting; } } let greeter = new Greeter("world");`, }