Skip to content

Commit

Permalink
improve code style and add screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Jun 12, 2016
1 parent e14e24c commit e84f5c1
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 6 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Madness - Instant Markdown Server

---

![Screenshot]

---

Install
--------------------------------------------------

Expand Down Expand Up @@ -40,3 +44,8 @@ main file describing this directory.
The navigation sidebar will show all the sub directories and files in
the same directory as the viewed file.



---

[Screenshot]: https://raw.githubusercontent.com/DannyBen/madness/master/screenshot.gif
7 changes: 5 additions & 2 deletions app/public/css/main.css

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

2 changes: 1 addition & 1 deletion app/public/css/main.css.map

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

4 changes: 2 additions & 2 deletions app/styles/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ code {
}

pre {
margin-top: 0;
margin-bottom: 0;
// margin-top: 0;
// margin-bottom: 0;

// padding: 16px;
overflow: auto;
Expand Down
7 changes: 7 additions & 0 deletions app/styles/_coderay.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ td.line-numbers {
td.code {
// width: 100%;
}

table.CodeRay {
margin-bottom: 0;
pre {
margin-bottom: 0;
}
}
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion spec/fixtures/docroot/Style Guide/Code.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ def execute(argv=[])
end
```

Any following paragraph should be properly margined.

## Overflow?

```ruby
Expand Down Expand Up @@ -41,4 +43,6 @@ class Server < ServerBase
slim path
end
end
```
```

Any following paragraph should be properly margined.

0 comments on commit e84f5c1

Please sign in to comment.