Hi, I think your code block contains a syntax error. Could you check the text is valid using `pygmentize -l powershell -F raiseonerror` command?
If it contains syntax error, you need to pass `:force:` option to the code-block directive. Thanks, Takeshi KOMIYA 2020年9月12日(土) 7:31 Joshua J. Kugler <jos...@azariah.com>: > > In my document, I have various bits of code like this: > > ```<code type> > # code > ``` > > They are lexed and pygmentize'd correctly. However, I have a block like this: > > ```powershell > # powershell code > ``` > > pygmentize -L lists "powershell" as a type of code it can lex and highlight. > However, I get this warning from sphinx: > > /home/jkugler/repos/frb/devkit-python/docs/installing-devkit.md: WARNING: > Could not lex literal_block as "powershell". Highlighting skipped. > > I uninstalled python3-pygments as a test, and sphinx would not run without it, > so I know that's the one it's using. > > Ideas? > > j > > -- > Joshua J. Kugler - Fairbanks, Alaska - jos...@azariah.com > Azariah Enterprises - Programming and Website Design > PGP Key: http://pgp.mit.edu/ ID 0x68108cbb73b13b6a > > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sphinx-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sphinx-users/6311453.lOV4Wx5bFT%40hosanna. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CAFmkQAPVyHhuaLAhgLgEiRAAngv9x%3DomF3_rjU_ehVR3j-wE6A%40mail.gmail.com.