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 authored and 无闻 committed 2016-08-09 12:35:20 -07:00
1 parent 9e8a8867ea
commit c8b45ecc27
5 files changed
+24 -20

No files matched your search

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