tempestphp/highlight

Add support for getting a language?

Closed this issue · 1 comments

I'm not entirely convinced we need this, but looking at #79, we should probably have a way to test that an alias works correctly (e.g., returns the same object) without having to re-run the entire test suite against that alias.

The easiest solution I can think of is to add a getter for the language name and just compare the returned objects.

Let's consider this while working on #81, no need for a separate issue