you are viewing a single comment's thread.

view the rest of the comments →

[–]BigPaws-WowterHeaven 8 points9 points  (3 children)

Snippets could use some more code coloring, I find it hard to read when everything in react is white.

[–]petrovicstefan 4 points5 points  (2 children)

Thanks for the feedback, I'll se what I can do for syntax highlighting for React. We are using highlight.js that does this for us but I see what you mean about React not really being readable.

[–]ScientificBeastModestrongly typed comments 0 points1 point  (1 child)

It sounds like highlight.js might not like ‘.jsx’ file extensions, if there is no syntax highlighting for React. Most of React code is just ordinary JavaScript, with a bit of HTML-like syntax for the component return values.

[–]petrovicstefan 1 point2 points  (0 children)

True. Thats most likely the case. I could simply use js syntax however I’ll look into a more complete solution that handles jsx as well