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

Syntax highlight now also for Markdown code blocks #115

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

gnclmorais
Copy link
Contributor

I noticed the website doesn’t apply syntax highlight to posts with their code inside ``` instead of <code> tags. Looking at the code, seems like only `` tags were being searched for and replaced. But not anymore!

P.S.: @DTrejo, I just noticed on the README.md that you asked for help regarding this issue… after developing this and going to submit this pull request. Talk about serendipity… :D

Conflicts:
	README.md
	posts/2013-08-07-Math.max()-behaviour.md

Also, code blocks syntax fix.
I noticed the website doesn’t apply syntax highlight to posts
with their code inside ``` instead of <code> tags.
Looking at the code, seems like only <code> tags were being
searched for and replaced. But not anymore!
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

Successfully merging this pull request may close these issues.

1 participant