Can someone please add the ability to disable the scrollable Timeline to the right of posts in these forums? I’ve stumbled upon these forums many times when trying to do something with PowerShell and most of the time posters (ex: such as here) are not using the proper formatting to post their code. So their code gets truncated by the scrollable Timeline to the right of posts.
So from the example post I linked to above, this code is truncated:
The code if posted correctly would look like this:
[String]$Check = 'abc 123' [String]$FifthCharacter = $Check.ToCharArray()[4] if ($FifthCharacter -as [Int]) { "The fifth Character '$Character' is a number" } else { 'not' }
I joined these forums thinking maybe there was a setting in my profile to disable the timeline, but unfortunately there isn’t. Can this be implemented?
In the example you provided, they did actually use a preformatted text element.
Below using the pre element:
[String]$Check = 'abc 123' [String]$FifthCharacter = $Check.ToCharArray()[4] if ($FifthCharacter -as [Int]) { "The fifth Character '$Character' is a number" } else { 'not' }
If they had not formatted it at all it would look like this and it would wrap:
[String]$Check = ‘abc 123’ [String]$FifthCharacter = $Check.ToCharArray()[4] if ($FifthCharacter -as [Int]) { “The fifth Character ‘$Character’ is a number” } else { ‘not’ }
You are correct in the way it should be properly display formatted text with backticks or however you did it : [String]$Check = 'abc 123' [String]$FifthCharacter = $Check.ToCharArray()[4] if ($FifthCharacter -as [Int]) { "The fifth Character '$Character' is a number" } else { 'not' }
Ok thanks for your responses. I see this site forum is using the Discourse discussion platform. I found a post from 2023 about disabling the timeline, but it just talks about using CSS to hide it, so it’s not a built-in feature you can turn on or off for the entire platform let alone for individual users. I was under the impression this forum was custom built from the ground up and some admin here had full control over how it functioned, since it’s a forum about coding. But I guess I should have known better.
Thanks Matt, I am aware of the ability to replace the CSS via a similar method in Chrome, but never thought to look if there was a way to set this up permanently. I currently don’t use Firefox as my main browser, but I will see if I can replicate this functionality in Chrome.