Module:CharColorParse: Difference between revisions

Qud Char returns in source code pro
(Created page with "local p = {} function p.parse(frame) local a = string.gsub(frame.args[1],"(&)(%w)(%^?%w?)", function(_,color,background) local luatable = { ['r'] = "#...")
 
(Qud Char returns in source code pro)
Line 48: Line 48:
  c = "transparent"
  c = "transparent"
end
end
         return "color: " .. luatable[color] .. "; background: " .. c ..";"
         return "color:" .. luatable[color] .. ";background:" .. c ..";font-family:Source Code Pro;"
     end)
     end)
return a
return a