On Thursday, 12 September 2019 at 11:40:33 UTC, Ron Tarrant wrote: > string myCSS = "tab { background-color: #f2f2f2; }"; > > enum will work just as well here and without the need for the variable: enum myCSS = "tab { background-color: #f2f2f2; }"; The original error was because q strings have to be valid D, not because of the enum.