From de66e56ef5f1a40459d5382eb7c5b4b06c466be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Kozie=C5=82?= Date: Sun, 2 Sep 2018 11:49:36 +0200 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 09b94c3..be5436e 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,24 @@ This theme is pretty basic and covers all of the essentials. All you have to do ## Features -- **light/dark mode**, depending on your preferences +- **dark/light mode**, depending on your preferences (dark is default) - great reading experience thanks to [**Inter UI font**](https://rsms.me/inter/), made by [Rasmus Andersson](https://rsms.me/about/) - nice code highlighting thanks to [**PrismJS**](https://prismjs.com) - an easy way to modify the theme (**Webpack, NodeJS, PostCSS** — initial setup created by [Marcin Dziewulski](http://www.mobily.pl)) - fully responsive +#### Code highlighting + +By default the theme is using PrismJS to color your code syntax. All you need to do is to wrap you code like this: + +
+```html
+  // your code here
+```
+
+ +**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 + ## How to start You can download the theme manually by going to [https://github.com/panr/hugo-theme-hello-friend.git](https://github.com/panr/hugo-theme-hello-friend.git) and pasting it to `themes/hello-friend` in your root directory.