29) ElixirConf US 2018 Lightning Talk – Code highlighting with elixir – Jeff Gillis

ElixirConf US 2018 Lightning Talk – Code highlighting with elixir – Jeff Gillis (@jgillis01)

All talks are available in the ElixirConf US 2018 Talks List or via the #elixirconf2018 tag

2 Likes

I have a minor correction to this talk: the makeup_elixir application doesn’t contain an “elixir formatter”, it contains a lexer. The formatter is common to alm languages.

The general workflow is to have a lexer, which converts the input string into a list of tokens and a formatter which converts the list of tokens into something else (like a string with HTML).

The token format is documented considered part of the API so that you can weite your own formatter.

4 Likes

Thank you for the correction, and thank you for writing the library. It has proven very useful in my projects!

Jeff

3 Likes