Markdown Converter
Agent skill for markdown-converter
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a comprehensive 6-week interactive web course for teaching pixel art creation for Unity game development. The application is a client-side single-page application with sub-tab navigation that provides focused learning experiences without long scrolling.
Since this is a client-side web application, no build process is required:
index.html directly in a web browserindex.html (151 lines): Main HTML structure with templatescss/styles.css (513 lines): All application stylesjs/main.js (457 lines): Application logic, navigation, and state managementjs/canvas.js (575 lines): Canvas class system for interactive drawing toolsjs/content.js (1,703 lines): All course content for 6 weeksmain.jsThe interactive drawing functionality is built around a class hierarchy:
canvas.js:3)canvas.js:~400)canvas.js:~500)canvas.js:~600)Canvas instances are managed in
state.canvasInstances Map and created dynamically based on exercise requirements.
All educational content is stored in
courseContent object in content.js. Each week contains:
title: Week titletabs: Object with 6 tabs (overview, concepts, practice1, practice2, challenge, assessment)title and content properties with HTML contentCanvas instances are created in
main.js:loadTab() function based on exercise type:
canvasInstance = new PixelCanvas(canvas, options); canvasInstance = new LayeredCanvas(canvas, options); // etc.
state objectstate.quizAnswered SetPNG export is implemented in each canvas class with scaling options (1x, 2x, 4x, 8x) and optional transparent backgrounds.
This is university-level curriculum focusing on:
The sub-tab structure eliminates scrolling fatigue and provides focused learning modules that can be completed individually or as complete weeks.
A comprehensive visual learning system has been implemented for Practice sections:
/images/examples/ - Directory for all practice example images[section-name].svg (e.g., single-pixels.svg, checkerboard.svg)<li> <strong>Task Name (time estimate):</strong> <div class="task-with-example"> <div class="task-instructions"> <ul> <li>Step-by-step instructions...</li> <li><em>Success goal: Clear completion criteria</em></li> </ul> </div> <div class="task-example"> <img src="images/examples/example-name.svg" alt="Descriptive alt text" class="pixel-example"/> <p class="example-caption">Example: Brief description</p> </div> </div> </li>
.task-with-example - Flexbox container for side-by-side layout.task-instructions - Left column with instructions.task-example - Right column with visual example.pixel-example - Image styling with crisp pixel rendering.example-caption - Caption text stylingviewBox for proper scalingimage-rendering: pixelated for crisp pixels/images/examples/content.js with the pattern aboveThis system has been successfully implemented in Week 1 Practice 1 (
js/content.js:140-228) and can be replicated in other practice sections.