TheOdinProject / theodinproject

Main Website for The Odin Project
http://www.theodinproject.com
MIT License
3.56k stars 2.06k forks source link

Chore: Additional Prism language support #4501

Closed MaoShizhong closed 2 months ago

MaoShizhong commented 2 months ago

Checks

Chore description

4498 added EJS to our Prism support languages, as we were previously missing it.

I was thinking about any other languages we would reasonably see in code blocks in our curriculum that have Prism support but aren't added to our supported languages list.

At least in Node land, it would be reasonable for us to see .env file snippets when we revamp the relevant lessons. This would require the properties language to appropriately highlight. The below snippet can be pasted into the Prism test drive playground using the properties language.

foo=bar
blip=blop

Additional languages that may be reasonable for us to add to the PrismJS languages array:

Acceptance criteria

Additional Comments

No response

JoshDevHub commented 2 months ago

I agree on all fronts. I'm particularly surprised bash isn't currently highlighted, which is something I've somehow not noticed before your post :laughing: . There are snippets with the bash language set all over the curriculum.

KevinMulhern commented 2 months ago

those all sound like solid additions to me too @MaoShizhong. I thought we definitely had bash as well 😆