MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / imageGeneratorOptions

Function imageGeneratorOptions

docs/src/renderer/image-renderers.ts:86–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84};
85
86const imageGeneratorOptions = async (): Promise<ImageGeneratorOptions> => {
87 return {
88 width: 1200,
89 height: 600,
90 fonts: [
91 {
92 name: "Roboto",
93 data: await getTtfFont("Roboto", ["ital", "wght"], [0, 400]),
94 weight: 400,
95 style: "normal",
96 },
97 ],
98 };
99};
100
101function docSectionPath(slug: string, title: string) {
102 let section = slug.split("/")[1].toString();

Callers 1

docOgRendererFunction · 0.85

Calls 1

getTtfFontFunction · 0.85

Tested by

no test coverage detected