dwyl / book

📗 Our Book on Full-Stack Web Application Development covering User Experience (UX) Design, Mobile/Offline/Security First, Progressive Enhancement, Continuous Integration/Deployment, Testing (UX/TDD/BDD), Performance-Driven-Development and much more!
https://dwyl.github.io/book/
818 stars 132 forks source link

Chore: Add `Elixir` Syntax Highlighting #95

Closed nelsonic closed 1 year ago

nelsonic commented 1 year ago

At present the syntax highlighting in the Book is not working for Elixir: https://dwyl.github.io/book/mvp/16-lists.html image

It works fine on GitHub: https://github.com/dwyl/book/blob/main/src/mvp/16-lists.md image

Looks like we need a custom highlight.js file: https://rust-lang.github.io/mdBook/format/theme/syntax-highlighting.html

Todo

nelsonic commented 1 year ago

Syntax highlighting working but fugly: image

Sooo going to try a different theme: https://highlightjs.org/examples image

nelsonic commented 1 year ago

Nah. Still nowhere near anything I would want to read ... https://dwyl.github.io/book/mvp/16-lists.html image

Need help with this. 🙏

nelsonic commented 1 year ago

Gonna try: https://draculatheme.com/highlightjs image

nelsonic commented 1 year ago

Ok, that backfired. 🤦‍♂️ image

Revert.

nelsonic commented 1 year ago

This looks "OK" and I'm happy enough for now to continue: https://dwyl.github.io/book/mvp/16-lists.html image

Very happy for someone else with more time and a design sensibility to improve this. 🙏