Fix Syntax Highlighting for Code

Code formatting is messed up:

For example:

Rust

/// Use this filter to block users from calling any functions in the Balances pallet.
pub struct DontAllowBalances;
impl Contains<Call> for DontAllowBalances {
    fn contains(c: &Call) -> bool {
        // This will match against any call from the Balances pallet.
        !matches!(c, Call::Balances(..)
    }
}

JavaScript

console.log("Hello, Stack Snippets!");

Font size and style should be the same throughout, just colorized.

2 Likes

This should be fixed. :slight_smile:

I also increased line height a little bit to improve readability. :+1: