Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Commit

Permalink
Fix #12
Browse files Browse the repository at this point in the history
  • Loading branch information
kgiszewski committed May 19, 2015
1 parent 7adc61e commit 567c10f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ <h1 class="ng-binding">{{model.filePath}}</h1>
<button class="btn" value="Text" title="Link" ng-click="insertLinkMd()"><i class="icon-link"></i></button>
<button class="btn" value="Text" title="Ordered List" ng-click="insertOlMd()">OL</button>
<button class="btn" value="Text" title="Un-ordered List" ng-click="insertUlMd()">UL</button>
<button class="btn" value="Text" title="Blockquote" ng-click="insertBlockquoteMd()">BLOCKQUOTE</button>
</div>
</div>
<div class="bookshelf-toolbar-right span3 text-right">
Expand Down
6 changes: 6 additions & 0 deletions src/App_Plugins/UmbracoBookshelf/js/file.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@
});
}

$scope.insertBlockquoteMd = function () {
sendMdBroadcast({
md: ">foo"
});
}

$scope.insertCodeMd = function (number) {
var hashes = "";

Expand Down
7 changes: 7 additions & 0 deletions src/Assets/less/application.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
color: blue;
}

blockquote {
p {
font-size: 15px;
color: #999;
}
}

pre {
>code {
display: block;
Expand Down

0 comments on commit 567c10f

Please sign in to comment.