Re: [sphinx-users] Sphinx not highlighting code it should

2020-11-25 Thread Daniel Scott
On Fri, Sep 11, 2020, 3:31 PM Joshua J. Kugler wrote: > In my document, I have various bits of code like this: > > ``` > # code > ``` > > They are lexed and pygmentize'd correctly. However, I have a block like > this: > > ```powershell > # powershell code > ``` > > pygmentize -L lists "powershell

Re: [sphinx-users] Sphinx not highlighting code it should

2020-09-14 Thread Joshua J. Kugler
That was it! Thank you very much. j On Saturday, September 12, 2020 5:42:26 AM AKDT Komiya Takeshi wrote: > 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, y

Re: [sphinx-users] Sphinx not highlighting code it should

2020-09-12 Thread Komiya Takeshi
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

[sphinx-users] Sphinx not highlighting code it should

2020-09-11 Thread Joshua J. Kugler
In my document, I have various bits of code like this: ``` # 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