rouge-ruby / rouge

A pure Ruby code highlighter that is compatible with Pygments
https://rouge.jneen.net/
Other
3.32k stars 731 forks source link

Fix notation of named stages in multi-stage docker builds #1809

Closed bartbroere closed 2 years ago

bartbroere commented 2 years ago

AS can be used as a keyword to name a stage in a multi-stage Docker build, but it isn't formatted correctly yet.

Before this PR: FROM golang:1.16 AS builder

After this PR: FROM golang:1.16 AS builder

tancnle commented 2 years ago

Thanks @bartbroere 🚢 🚀