ajnsit / concur-documentation

Documentation for Concur
https://ajnsit.github.io/concur-documentation/
66 stars 10 forks source link

Enable purs syntax highlighting #21

Open milesfrain opened 3 years ago

milesfrain commented 3 years ago

This implements option 1 from https://github.com/purescript-halogen/purescript-halogen/pull/664#issuecomment-637679500

This strategy is also used in the PS book.

I notice the repo structure of this book is a bit different than the others (which don't track any autogenerated files outside of the gh-pages branch). It would probably be easier for folks to contribute to these mdbooks in the PS ecosystem if they're all architeted similarly (not claiming we found the best solution yet). Also not sure what the ferris files are for.

ajnsit commented 3 years ago

I discovered mdbook in the rust book repo (https://github.com/rust-lang/book) and based the structure off that. It's probably a good idea to bring it in line with the PS book.

I'll look more into how the PS highlighting code works before I merge it.