{ Rouge }

An elegant, extendable code highlighter written in pure Ruby.

Available on GitHub

#version 330 core

uniform mat4 worldMatrix;

layout(location = 0) in vec2 position;
layout(location = 1) in vec4 color;

out vec4 vertexColor;

void main()
{
    vertexColor = color;
    gl_Position = vec4(position, 0.0, 1.0);
}