Skip to content

Commit

Permalink
Merge pull request #11 from tomaskrizek/add-keyword-highlight
Browse files Browse the repository at this point in the history
CSS: Add highlighting for inline keywords
  • Loading branch information
Ben Balter authored and GitHub committed Dec 7, 2017
2 parents ce8bbcb + 631bda4 commit 36c73d3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions _sass/jekyll-theme-hacker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,15 @@ pre {
overflow-y: hidden;
}

code.highlighter-rouge {
background: rgba(0,0,0,0.9);
border: 1px solid rgba(255, 255, 255, 0.15);
padding: 0px 3px;
margin: 0px -3px;
color: #aa759f;
border-radius: 2px;
}

table {
width: 100%;
margin: 0 0 20px 0;
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: default
---

Text can be **bold**, _italic_, or ~~strikethrough~~.
Text can be **bold**, _italic_, ~~strikethrough~~ or `keyword`.

[Link to another page](another-page).

Expand Down

0 comments on commit 36c73d3

Please sign in to comment.