Skip to content

Improve code highlighting#222

Open
abdulwahabone wants to merge 1 commit into
masterfrom
enhancement/improve-code-highlighting
Open

Improve code highlighting#222
abdulwahabone wants to merge 1 commit into
masterfrom
enhancement/improve-code-highlighting

Conversation

@abdulwahabone

Copy link
Copy Markdown

This PR improves code highlighting, the styles are similar to Github's syntax highlighting.

Not really fond of using !important but it was necessary to overwrite default syntax highlighting from highlight.js package. I tried importing dark-code.css lower down to overwrite highlight.js styling, but that didnt work and I have to use the !important flag

Have a peak at the preview.

Before After
image image

@abdulwahabone abdulwahabone added the enhancement New feature or request label Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant