From e4bac7f1ca4546cca5a0c2435313d905483e4c1f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 29 Oct 2015 08:44:44 +0100 Subject: [PATCH] Add more details --- source/developers/website.markdown | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/source/developers/website.markdown b/source/developers/website.markdown index 15a0f75328d..d9e5b1bb02e 100644 --- a/source/developers/website.markdown +++ b/source/developers/website.markdown @@ -22,14 +22,20 @@ To work on the website the process is no different to working on Home Assistant For a component page it would be the fastest way to make a copy of an existing page and edit it. -## Code -To take advantage of the build-in features of Octopress to display code snipplets, just use the default markdown syntax. +### {% linkable_title Code %} +To take advantage of the build-in features of Octopress to display code snipplets, just use the default markdown syntax. Please use `$` and `#` if it's a command and to differ from output. ```bash Here goes the code... ``` -## Images, icons, and logos +If you want to display line numbers, add the following snipplets somewhere on your page. + +``` +{::options coderay_line_numbers="table" /} +``` + +### {% linkable_title Images, icons, and logos %} The images which are displayed on the pages are stored in various directories according their purpose. | Type | Location |