Skip to content
This repository has been archived by the owner on Feb 1, 2018. It is now read-only.

Commit

Permalink
turn wrap off in code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthlatest committed Feb 27, 2017
1 parent cf712da commit a12fbe9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "docbase",
"version": "0.2.75",
"version": "0.2.76",
"homepage": "https://github.com/appbaseio/Docbase",
"authors": [
"Henrique Sa <henriquepss@gmail.com>",
Expand Down
1 change: 1 addition & 0 deletions dist/js/main.js
Expand Up @@ -372,6 +372,7 @@
$rootScope.$on('$routeChangeSuccess', function(newRoute, oldRoute) {
jWindow.on('docbase:ready', function() {
$anchorScroll();
$('code').css('white-space', 'pre');
$('p:contains("{% raw %}")').remove();
$('p:contains("{% endraw %}")').remove();
$('.content').find('pre code').each(function(i, block) {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/main.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/main.unique.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions scripts/docbase.js
Expand Up @@ -345,6 +345,7 @@
$rootScope.$on('$routeChangeSuccess', function(newRoute, oldRoute) {
jWindow.on('docbase:ready', function() {
$anchorScroll();
$('code').css('white-space', 'pre');
$('p:contains("{% raw %}")').remove();
$('p:contains("{% endraw %}")').remove();
$('.content').find('pre code').each(function(i, block) {
Expand Down

0 comments on commit a12fbe9

Please sign in to comment.