Template:CodeBlock/sandbox: Difference between revisions
Jump to navigation
Jump to search
(attempting to fix inconsistent line fixing, starting by copy/pasting the template refractored) |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{modernTodo|Add syntax highlighting for relevant languages such as C, C++, Squirrel, Lua, AngelScript, Python, and | {{modernTodo|Add syntax highlighting for relevant languages such as C, C++, Squirrel, Lua, AngelScript, Python, and QuakeC, as well as common non-code syntax, such as VMT, VMF, Soundscapes/scripts, RAD files, Studiomdl QC/QCI, etc.}} | ||
</noinclude> | </noinclude> | ||
{{Doc}}__NOEDITSECTION__ | {{Doc}}__NOEDITSECTION__ | ||
Line 16: | Line 14: | ||
text|html=HTML|css=CSS|scss=SCSS|less=LESS|js=JavaScript|json=JSON|php=PHP|c=C|cs=C#|cpp=C++|pascal=Pascal|python=Python|java=Java|squirrel=Squirrel|lua=Lua|glua=gLua|{{{lang}}}}}<span | text|html=HTML|css=CSS|scss=SCSS|less=LESS|js=JavaScript|json=JSON|php=PHP|c=C|cs=C#|cpp=C++|pascal=Pascal|python=Python|java=Java|squirrel=Squirrel|lua=Lua|glua=gLua|{{{lang}}}}}<span | ||
style=user-select:none></span></div>}}<!-- | style=user-select:none></span></div>}}<!-- | ||
--> | --></div>}}<!-- | ||
--><div style="width:100%"> | |||
--> | |||
<div style="position:relative;width:100%;display:flex;max-height:{{{height|unset}}};overflow:auto"><!-- | <div style="position:relative;width:100%;display:flex;max-height:{{{height|unset}}};overflow:auto"><!-- | ||
-->{{#if:{{{lines|}}}|<div | -->{{#if:{{{lines|}}}|<div |