Hi
I just wanted to know if the new syntax highlighting in code blocks is part of the accidental settings changes or if it was done intentionally.
fn main() {
let x: String = "hello".to_owned();
let y: i32 = 12_i32;
}
Hi
I just wanted to know if the new syntax highlighting in code blocks is part of the accidental settings changes or if it was done intentionally.
fn main() {
let x: String = "hello".to_owned();
let y: i32 = 12_i32;
}
Can you elaborate on what changed for you?
I cannot recall any difference.
fn
bluemain
orangelet
blue x
and y
greenString
and i32
green"hello"
greento_owned
orange12_i32
whiteI think there was no syntax highlighting at all before.
I believe the change might be related to
It looks like you can find the current discourse version near the top of the html:
view-source:https://users.rust-lang.org/
<!DOCTYPE html>
<html lang="en-GB" class="desktop-view not-mobile-device text-size-normal">
<head>
<meta charset="utf-8">
<title>The Rust Programming Language Forum</title>
<meta name="description" content="General discussion of The Rust Programming Language">
<meta name="discourse_theme_id" content="36">
<meta name="discourse_current_homepage" content="latest">
<meta name="generator" content="Discourse 3.4.0.beta3-dev - https://github.com/discourse/discourse version 429cf656e78ae1858c29a446cccd386542ae2867">
⋮
which contains a commit hash whose history you can see here
As it applies equally to internals, and I haven’t noticed a difference before today either, it’s definitely unrelated to the accidental settings changes from the last few weeks.
No sorry, I cannot recall. I just look at it and think, that looks different than the last 300 hours I spent here.
Maybe one thing I think might be different: I think string literals used to be a different color to everything else.
And the background was lighter than the new one.
I couldn't tell you what changed, but something does feel different.
But at least on dark mode I like how it is now, so no complaints from me