1
Fork 0

Render the Code view on the server (minus syntax highlighting) (#2942)

* render code view server side

* remove debug print

* fix multiline selection bug

* change string concatenation to bytes.Buffer for efficiency

* Fix newlines added by previous for hljs

* fix selection highlighting

* make css changes in .less
This commit is contained in:
Rory McNamara 2016-08-09 20:35:20 +01:00 committed by 无闻
parent 9e8a8867ea
commit c8b45ecc27
5 changed files with 24 additions and 20 deletions

View file

@ -251,6 +251,8 @@
padding: 0 !important;
li {
padding-left: 5px;
display: inline-block;
width: 100%;
&.active {
background: #ffffdd;
}