website icon indicating copy to clipboard operation
website copied to clipboard

use_dark_highlighting in posts if has code block

Open KingDarBoja opened this issue 4 years ago • 5 comments

Fixes #202

By the way, had to remove the gemfile.lock and the blog post with the .adoc extension to run it locally due to compilation errors.

KingDarBoja avatar Jun 27 '20 22:06 KingDarBoja

Why not enable it for all posts?

dom96 avatar Jun 27 '20 22:06 dom96

Why not enable it for all posts?

🤦‍♂️ I forgot the ones that didn't show up on my vscode search ```nim. Give me a few minutes and I will do it.

By the way, should the github.css be preserved as the main idea should be using the dracula highlight theme for the entire website? Just saying.

EDIT Maybe it isn't required for most posts as there are few ones without code blocks.

KingDarBoja avatar Jun 27 '20 22:06 KingDarBoja

Can we make this work without the need to edit every single blogpost and adding use_dark_highlighting: true, i.e. can that be the default?

narimiran avatar Oct 19 '20 10:10 narimiran

I will take a look this week, the default should be indeed dark and just pass an option to disable it to avoid using use_dark_highlighting on every file.

KingDarBoja avatar Oct 19 '20 13:10 KingDarBoja

what does this look like? Screenshot?

dom96 avatar Oct 19 '20 19:10 dom96