Closed dusty-cjh closed 1 year ago
Can you add install Pygments on you remote dev? if that works, then you need to add Pygments to your requirements file
ref: https://github.com/torchbox/wagtail-markdown#syntax-highlighting mentions it, but should probably be more explicit
The https://python-markdown.github.io/extensions/code_hilite/ Markdown extension uses it for highlighting
Thanks, have solved it, it is because my CDN config error, the css file wasn’t sync with remote
On Dec 3, 2022, at 18:08, Dan Braghis @.***> wrote:
Can you add install Pygments on you remote dev? if that works, then you need to add Pygments to your requirements file
ref: https://github.com/torchbox/wagtail-markdown#syntax-highlighting mentions it, but should probably be more explicit
The https://python-markdown.github.io/extensions/code_hilite/ Markdown extension uses it for highlighting
— Reply to this email directly, view it on GitHub https://github.com/torchbox/wagtail-markdown/issues/111#issuecomment-1336127590, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK5ZGLHJN7BOYQOCJEHHSNDWLML3XANCNFSM6AAAAAASSQOFHY. You are receiving this because you authored the thread.
ENV
Local env: macOS python3.9 venv
Remote env: Ubuntu20 python3.10 venv
Related Package Version:
I have downloaded and installed pygment-css, and it only works on local ENV. Related CSS file can be accessed correctly.
Appearance
Local Render Effect:
Remote Render Effect:
since local and remote rendered different HTML for the same markdown syntax: Local:
Remote:
I don't think that is an issue, but I can not find any setting option on Doc, could you help me? thanks a lot