opt/anaconda3/lib/python3.6/site-packages/nbconvert/filters/highlight.py:131: UserWarning: No lexer found for language 'pygments.lexers.erlang.ElixirLexer'. Treating as plain text.
warn("No lexer found for language %r. Treating as plain text." % language)
When I manually edit the notebook to just specify "Elixir", the error doesn't appear. Interactive testing shows the same - Pygments' get_lexer_by_name seems to expect just "Elixir", not the full classname.
Maybe my version? I'm running Anaconda 4.3.0 on Linux with Python3, which includes Jupyter 4.2.1.
https://github.com/pprzetacznik/IElixir/blob/master/lib/ielixir/socket/shell.ex#L54 sets the Pygments lexer name to its class name, but that seems to trigger an error in my version of Jupyter when triggering its use:
When I manually edit the notebook to just specify "Elixir", the error doesn't appear. Interactive testing shows the same - Pygments'
get_lexer_by_name
seems to expect just "Elixir", not the full classname.Maybe my version? I'm running Anaconda 4.3.0 on Linux with Python3, which includes Jupyter 4.2.1.