mix corex.code (Corex v0.1.0-alpha.33)

View Source

Generates the full Makeup syntax highlighting stylesheet and writes it to your project.

Run when you add or update Makeup language packages (e.g. makeup_elixir, makeup_html, makeup_css).

Requires makeup and makeup_elixir in your deps.

Examples

# Default path (assets/css/code_highlight.css)
mix corex.code

# Custom path and filename
mix corex.code assets/styles/syntax.css

# Override if file already exists
mix corex.code --force
mix corex.code assets/css/code_highlight.css --force

Import

Add the generated file to your CSS (e.g. assets/css/app.css):

@import "./code_highlight.css";

Works with or without Corex Design. For unstyled projects, import only the highlight file.