Permalink
Browse files

Added languages to markdown hints

  • Loading branch information...
1 parent 60a2158 commit e6dcf11e2a5ba0b9679ca82ecb5af03e97db7e74 @makaroni4 makaroni4 committed May 3, 2012
Showing with 4 additions and 3 deletions.
  1. +1 −1 app/assets/stylesheets/sections/main.css.scss
  2. +3 −2 app/views/posts/_markdown_hints.html.slim
@@ -118,7 +118,7 @@ section.main {
margin-top: 25px;
padding: 10px;
background: rgba(0, 0, 0, 0.035);
- white-space: pre;
+ white-space: pre-wrap;
font-family: monospace;
}
@@ -7,6 +7,7 @@ div class="markdown_hints"
li * List item
li + List item
li - List item
- li ~~~
+ li ~~~language
li code
- li ~~~
+ li ~~~
+ li Available languages: ruby, python, perl, php, scala, go, xml, html, css, markdown, django, javascript, coffeescript, actionscript, vbscript, delphi, java, cpp, objectivec, sql, smalltalk, lisp, apache, diff, bash, haskell, erlang, matlab

0 comments on commit e6dcf11

Please sign in to comment.