Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Commit

Permalink
Add Haskel and other languages & fix menu item margin
Browse files Browse the repository at this point in the history
  • Loading branch information
panr committed Sep 7, 2018
1 parent 6a65821 commit 1f96e0f
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ By default the theme is using PrismJS to color your code syntax. All you need to
```
</pre>

**Supported languages**: css, clike, javascript, c, csharp, cpp, coffeescript, ruby, css-extras, diff, docker, elixir, elm, markup-templating, erlang, fsharp, flow, git, go, graphql, less, handlebars, java, json, kotlin, latex, markdown, makefile, objectivec, ocaml, perl, php, php-extras, sql, scss, python, jsx, typescript, reason, rust, sass, pug, swift, yaml, haml, tsx
**Supported languages**: css, clike, javascript, apacheconf, applescript, c, csharp, cpp, coffeescript, ruby, csp, css-extras, diff, django, docker, elixir, elm, markup-templating, erlang, fsharp, flow, git, go, graphql, less, handlebars, haskell, http, java, json, kotlin, latex, markdown, makefile, objectivec, ocaml, perl, php, php-extras, sql, processing, scss, python, jsx, typescript, reason, textile, rust, sass, stylus, scheme, pug, swift, yaml, haml, twig, tsx, vim, visual-basic, wasm.

## How to start

Expand Down
4 changes: 2 additions & 2 deletions source/css/menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
list-style: none;

li {
margin: 0 20px;
margin: 0 10px;

&:last-of-type {
margin: 0;
margin-right: 0;
}
}

Expand Down
5 changes: 5 additions & 0 deletions source/css/prism.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,8 @@ pre[class*="language-"] {
color: green;
}

pre[class*="language-"].line-numbers {
position: relative;
padding-left: 3.8em;
counter-reset: linenumber;
}
20 changes: 18 additions & 2 deletions source/js/prism.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions static/assets/prism.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/assets/style.css

Large diffs are not rendered by default.

0 comments on commit 1f96e0f

Please sign in to comment.