Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a native dark mode option? #158

Open
scottchiefbaker opened this issue Jan 21, 2025 · 0 comments
Open

Is there a native dark mode option? #158

scottchiefbaker opened this issue Jan 21, 2025 · 0 comments

Comments

@scottchiefbaker
Copy link

ChatGPT directed me to GeSHi for syntax highlighting some Perl script. Seems to work great out of the box with a minimal configuration:

// Initialize GeSHi
$geshi = new GeSHi($code, 'perl');

// Configure GeSHi
$geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS);
$geshi->set_header_type(GESHI_HEADER_DIV);

print $geshi->parse_code();

It's 2025 though, and it'd be nice if there was a "dark mode" out-of-the-box. Doing some Google and documentation searches I'm not seeing an obvious answer for this. Surely someone out there has already done this, and it just needs to be documented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant