oulvhai / MWeb-issues

141 stars 6 forks source link

MWeb 3.1.6 如何代码语法高亮和显示行号? #1127

Closed JL1829 closed 5 years ago

JL1829 commented 5 years ago

刚刚开始使用MWeb 3.1.6,使用最简单的插入代码的方式:

print('Hello World!')
print('Hello again')
print('I like typing this.')
print('This is fun')
print('Yay! Printing')
print("I'd much rather you 'not'")
print('I "said" do not touch this.')

预览的时候并没有高亮,也没有显示行数,求赐教,如何高亮和显示行数。

JL1829 commented 5 years ago

已经解决。 给后来的新手的提示: 在Preference --->Themes---> 勾选“Enable Code Block Line number" 代码语法高亮:

sailnorth commented 5 years ago

已经解决。 给后来的新手的提示: 在Preference --->Themes---> 勾选“Enable Code Block Line number" 代码语法高亮:

如何代码语法高亮,表示还没有找到办法呀

fcwork commented 5 years ago

同求

iXinXuan commented 4 years ago

代码高亮直接

```matlab % matlab 代码即可 ```