SDL pypments lexerFebruary 4, 2020 at 9:50pm
I'm trying to contribute to the edge|DB docs and ran into this error. I'm using Atom. I suspect I need to install some package globally but I'd rather get instruction for that. (I'd also be happy to add the instructions to the syntax highlighter package or a contributing guide elsewhere as appropriate)
No Pygments lexer found for "edgeql-repl"
February 4, 2020 at 10:34pm
Right, Atom is probably using docutils to render a preview, and they need pygments. We have a pygments lexer here
https://github.com/edgedb/edgedb/blob/master/edb/edgeql/pygments/__init__.pybut I'm not sure how to enable it for Atom
February 6, 2020 at 6:41pm
It's not rendering at all
I tired to enable the lexer with the command line and got:
python3 -m pygments -l edb/edgeql/pygments/__init__.py:EdgeQLLexer -X /usr/bin/python3: No module named pygments.__main__; 'pygments' is a package and cannot be directly executed
June 21, 2020 at 7:21pm
Have you by any chance gotten a previewer to work? If not, could you share your workflow for editing documentation?
June 22, 2020 at 8:22pm