Featured Post

Interdum et malesuada fames ac ante ipsum primis

Interdum et malesuada fames ac ante ipsum primis in faucibus. Ut massa felis, accumsan ac porta sit amet, tincidunt eu velit. Quisque elit l...

Saturday, August 20, 2016

Syntax Highlighter Highlight.js With Copy To Clipboard


<div id="result-desc"></div>
<ul id="feed-container"></ul>
<div id="feed-nav">
</div>

<script type='text/javaScript'>
var label="Blogger";
</script>


pre {
  position: relative;
  overflow: visible;
  display: block;
  padding: 0;
  white-space: initial;
  word-break: normal;
  word-wrap: normal;
  background: #eee;
  line-height: 20px!important;
  border: 0;
  border-radius: 0
}

pre code {
  white-space:initial;
}
mark,
mark span {
  background-color: red!important;
  color: #fff!important
}

No comments:

Post a Comment