From 64534be76eb72b52dd5ee943213d0842452575f1 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Fri, 23 Feb 2018 02:03:29 +0800 Subject: [PATCH] docs: Enable README code block syntax highlight --- README.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1612f8d..7bfa010 100644 --- a/README.md +++ b/README.md @@ -25,21 +25,29 @@ Let's assume you have a folder named `share` in your server root directory (the So... - AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif +```ApacheConf +AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif +``` Should be changed to... - AddIcon /share/theme/icons/gif.png .gif +```ApacheConf +AddIcon /share/theme/icons/gif.png .gif +``` * Edit `footer.html` (now in the `/share/theme` folder) and update all instances of paths marked with *{FOLDERNAME}* to point to your site root. So... - +```html + +``` Should be changed to... - +```html + +``` * Once done, rename `htaccess.txt` to `.htaccess` in both the `/share` and `/share/theme` folders. * [Treat yo'self](http://25.media.tumblr.com/tumblr_lw7q28y0Mz1qanm80o1_500.gif), you're done. @@ -63,7 +71,9 @@ Edit these as you would any other HTML or CSS file. Adding your own icons is a little more involved. You'll need to edit the main Apaxy `.htaccess` file. Look for the following as an example: - AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif +```ApacheConf +AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif +``` The above rule will assign an icon named `gif.png` from the directory `/{FOLDERNAME}/theme/icons/` to any file with the `.gif` extension.