davel@lemmy.ml to Memes@lemmy.mlEnglish · 1 day agoSHALL WE PLAY A GAME?lemmy.mlimagemessage-square13linkfedilinkarrow-up1265arrow-down10
arrow-up1265arrow-down1imageSHALL WE PLAY A GAME?lemmy.mldavel@lemmy.ml to Memes@lemmy.mlEnglish · 1 day agomessage-square13linkfedilink
minus-squareDessalines@lemmy.mllinkfedilinkarrow-up2·11 hours agolemmy-ui has code themes that try to smartly guess which language anything in backticks is in, so it can do syntax highlighting for that language. IE rust fn main() { let x = XFunction::read(); } typescript function main() { const x = xFunctionRead(); }
lemmy-ui has code themes that try to smartly guess which language anything in backticks is in, so it can do syntax highlighting for that language.
IE
rust
fn main() { let x = XFunction::read(); }typescript
function main() { const x = xFunctionRead(); }