pandonetwork / pando

A distributed remote protocol for git based on IPFS, ethereum and aragonOS
184 stars 14 forks source link

Improve code highlighting #35

Closed deamme closed 5 years ago

deamme commented 5 years ago

Right now we are using https://github.com/FormidableLabs/prism-react-renderer to do code highlighting but we don't switch "highlighting modes" depending on file type. We have discussed that we should make a mapping of file extension to supported languages.

Languages supported in prism-react-renderer: https://github.com/FormidableLabs/prism-react-renderer/blob/master/src/vendor/prism/includeLangs.js

danimesq commented 5 years ago

Commit 244294994eb79da4896ac0d70ff3e14c41916045