mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-25 01:05:07 +01:00
Add Haskel and other languages & fix menu item margin
This commit is contained in:
parent
6a65821ab8
commit
1f96e0f3d9
@ -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
|
||||
|
||||
|
@ -27,10 +27,10 @@
|
||||
list-style: none;
|
||||
|
||||
li {
|
||||
margin: 0 20px;
|
||||
margin: 0 10px;
|
||||
|
||||
&:last-of-type {
|
||||
margin: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -123,3 +123,8 @@ pre[class*="language-"] {
|
||||
color: green;
|
||||
}
|
||||
|
||||
pre[class*="language-"].line-numbers {
|
||||
position: relative;
|
||||
padding-left: 3.8em;
|
||||
counter-reset: linenumber;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user