diff --git a/_app/_posts/note/2014-06-06-syntax-highlighting.md b/_app/_posts/note/2014-06-06-syntax-highlighting.md index 0ff887cf9..9310e2a5c 100644 --- a/_app/_posts/note/2014-06-06-syntax-highlighting.md +++ b/_app/_posts/note/2014-06-06-syntax-highlighting.md @@ -25,12 +25,19 @@ print_hi('Tom') #=> prints 'Hi, Tom' to STDOUT. {% endhighlight %} -{% highlight ruby linenos %} -def print_hi(name) - puts "Hi, #{name}" -end -print_hi('Tom') -#=> prints 'Hi, Tom' to STDOUT. +{% highlight html linenos %} + + + + Title! + + +

Example

+

Hello, World!

+ + + + {% endhighlight %} ```js diff --git a/_app/assets/themes/curtana/_less/module-syntax.less b/_app/assets/themes/curtana/_less/module-syntax.less index a4b5ff0e1..f0205bf40 100644 --- a/_app/assets/themes/curtana/_less/module-syntax.less +++ b/_app/assets/themes/curtana/_less/module-syntax.less @@ -181,6 +181,7 @@ .lineno { color: desaturate(@link-color, 95%); opacity: .5; + user-select: none; } .code {