aantron / better-enums

C++ compile-time enum to string, iteration, in a single header file
http://aantron.github.io/better-enums
BSD 2-Clause "Simplified" License
1.67k stars 173 forks source link

Added syntax highlight #67

Closed yisonPylkita closed 6 years ago

yisonPylkita commented 6 years ago

Hi @aantron

Thank you for this library. Was a great help in my projects.

I noticed that README does not have a syntax highlight so I created this PR

aantron commented 6 years ago

Great, thanks!

One request: could you restore the indentation inside the Markdown file? With the original indentation, the code blocks were part of the list items that they were "trying" to be in. With the indentation removed, they are treated as outside the list items. In the case of item (1), this also has the side-effect of taking the paragraph following the code block out of the list item. Preview.

yisonPylkita commented 6 years ago

Thanks for review :)

Fixed indentations. Should be fine now

aantron commented 6 years ago

Thanks again!