MCPcopy Index your code
hub / github.com/github/awesome-copilot / renderCookbooks

Function renderCookbooks

website/src/scripts/pages/samples.ts:253–263  ·  view source on GitHub ↗

* Render cookbooks and recipes

()

Source from the content-addressed store, hash-verified

251 * Render cookbooks and recipes
252 */
253function renderCookbooks(): void {
254 const container = document.getElementById("samples-list");
255 if (!container || !samplesData) return;
256
257 container.innerHTML = renderCookbookSectionsHtml(getFilteredRecipes(), {
258 selectedLanguage,
259 });
260
261 // Setup event listeners
262 setupRecipeListeners();
263}
264
265/**
266 * Setup event listeners for recipe interactions

Callers 4

setupFiltersFunction · 0.85
setupSearchFunction · 0.85
clearFiltersFunction · 0.85
setupRecipeListenersFunction · 0.85

Calls 3

getFilteredRecipesFunction · 0.85
setupRecipeListenersFunction · 0.85

Tested by

no test coverage detected