yidao620c / python3-cookbook

《Python Cookbook》 3rd Edition Translation
11.63k stars 2.96k forks source link

Make html中有语法错误的示例代码没有python模式的高亮 #242

Open hlscxq opened 6 years ago

hlscxq commented 6 years ago

新手学习,试着自己make 一下html,有提示 WARNING.例如 \source\c01\p01_unpack_sequence_into_separate_variables.rst:48: WARNING: Could not lex literal_block as "python". Highlighting skipped. \source\c01\p05_implement_a_priority_queue.rst:79: WARNING: Could not lex literal_block as "python". Highlighting skipped. \source\c01\p05_implement_a_priority_queue.rst:92: WARNING: Could not lex literal_block as "python". Highlighting skipped. 看了下大神的生成文档示例也是一样,这种python语法错误的示例代码部分没有按python样式高亮显示,求助下能否有解决方案?

yidao620c commented 6 years ago

我也没找到好的解决方案,希望其他人看到这个issue的人帮忙解决一下。