Github Gist语法突出显示不起作用 [英] Github Gists syntax highlight is not working

查看:156
本文介绍了Github Gist语法突出显示不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图用Markdown语法高亮创建一个要点。不幸的是,我无法在这里发布屏幕截图。

然后我按下save并且没有应用语法突出显示: https://gist.github.com/tkanoff/6b0a3fa3da1152dde5b8



同样的问题与Python代码。

解决方案

这是解决方案:您需要为您要保存的文件名提供适当的文件扩展名,例如

  Python正则表达式

应该成为

  Python RegEx。 md 

空格被忽略。


I am trying to create a gist with Markdown syntax highlight. Unfortunately I'm unable to post a screenshot here.

Then I press save and getting no syntax highlight applied: https://gist.github.com/tkanoff/6b0a3fa3da1152dde5b8

The same issue is there with Python code.

解决方案

Here's the solution:

You need to place a proper file extension for the filename you are trying to save, for example

Python RegEx

should become

Python RegEx.md

Spaces are ignored.

这篇关于Github Gist语法突出显示不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆