Skip to content

Commit

Permalink
Update to version 0.6.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
gnab committed May 6, 2014
1 parent d9c9b1e commit ed7326e
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 5 deletions.
8 changes: 8 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### 0.6.5
* #115: Highlight *-prefixed code block lines.
* #110: Enable click navigation when configured.
* #108: Add `sourceUrl` configuration option ([DanTup](https://github.com/DanTup)).
* #107: Add blackout mode.
* #104: Increase default font sizes.
* #102: Add default fonts to templates.

### 0.6.4
* #105/106: Support indented source code ([DanTup](https://github.com/DanTup)).

Expand Down
2 changes: 1 addition & 1 deletion boilerplate-single.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remark",
"version": "0.6.4",
"version": "0.6.5",
"homepage": "http://remarkjs.com/",
"authors": [
"Ole Petter Bang <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remark"
, "version" : "0.6.4"
, "version" : "0.6.5"
, "dependencies": {
"marked": "0.3.1"
}
Expand Down
4 changes: 3 additions & 1 deletion src/remark.less
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ html.remark-container, body.remark-container {
.remark-code {
font-size: 18px;
}

.remark-code-line {
min-height: 1em;
}
.remark-code-line-highlighted {
background-color: rgba(255, 255, 0, 0.5);
}
Expand Down
2 changes: 1 addition & 1 deletion src/remark/resources.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/remark/views/slideView.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@ function wrapLines (block) {
return '<div class="remark-code-line">' + line + '</div>';
});

// Remove empty last line (due to last \n)
if (lines.length && lines[lines.length - 1].indexOf('><') !== -1) {
lines.pop();
}

block.innerHTML = lines.join('');
}

Expand Down

0 comments on commit ed7326e

Please sign in to comment.