Prettier Plugin for GLSL
JSON →A Prettier plugin for formatting GLSL (OpenGL Shading Language) files. Version 0.2.5 is the latest stable release, built on Chevrotain parser with no external parsing dependencies. It supports Prettier 3.x and includes TypeScript type definitions. Key differentiators: automatic detection of common GLSL extensions, formatting of #define macros as top-level declarations, markdown formatting for /** comments, and high compatibility with Shadertoy shaders (95%+). Active development with potential breaking changes in any version.
Traffic · last 30 days ↓50% vs prev 7d
total hits 20
actors 7 distinct systems
last hit 2d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇳🇴 Norway · 🇩🇪 Germany · 🇫🇷 France
Resources
API endpoints
full doc /v1/registry/prettier-plugin-glsl
compatibility /v1/registry/prettier-plugin-glsl/compatibility