26 Feb 2023

Change colorscheme for code blocks highlighting

Category dev
Tags #code #tools

Code here is highlighted with https://github.com/mzlogin/rouge-themes1, I changed scheme a bit, now it looks brighter.

Here is the Python method example

def python():
    puts("Python method example")

Thats for Javascript

function test() {
    let sh = 1;
    console.log(sh);
}

PHP

class Testing {
    function __constructor() {
        $this->a = date('r');
    }
}

Rust


fn main() {
    // Statements here are executed when the compiled binary is called

    // Print text to the console
    println!("Hello World!");
}

Comments