Syntax highlighting used by forum.freemdict.com

I found that the syntax highlighting by the site is very ease to the eyes. For example,

class Dog:
    def __init__(self, name, age):  
        self.name = name 
        self.age = age

    def bark(self): 
        print(f"{self.name} is barking!")

# Creating an instance of Dog
dog1 = Dog("Buddy", 3)
dog1.bark()

and

/* User-defined styles */

figure,
script,
td.audiometa,
.sister-wikipedia,
head,
.NavFrame,
.maintenance-line,
[typeof="mw:Extension/templatestyles"],
.thumb,
.bandeau {
    display: none !important;
}

I wonder how can I have exactly the same for my VSCode. Thank you for your elaboration.

This site highlight library is highlight.js Demo - highlight.js

And default theme is atom-one-dark

Atom One Dark Theme by Mahmoud Ali | VS Code Themes

1 个赞

The colors are exactly the same as on stackoverflow, e.g. https://stackoverflow.com/questions/74277254/how-to-merge-multiple-csv-files-based-on-specific-column-ids.

The colors are not the same…

Thank you for your elaboration. I have found that it is stackoverflow-dark: