From 7498d40fddc99c5b8f8d0a3151879873852d29a3 Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Wed, 23 Sep 2015 15:16:25 +0000 Subject: Replace markdown backticks with four space indents Fenced code blocks are not part of the original markdown standard, thus less portable. Even if fenced code blocks were used, they should specify the code language with it. Indented code blocks with 4 spaces are portable, which we prefer. --- README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d976c7b..5f567e0 100644 --- a/README.md +++ b/README.md @@ -18,13 +18,11 @@ The assets are minified and combined using [Grunt](http://gruntjs.com/). Assuming you already have Node and NPM working, compilation is easy. Use the following shell code: -``` -npm install -g grunt-cli -git clone https://git.pantsu.cat/pantsu/pomf.git -cd pomf/ -npm install -grunt -``` + npm install -g grunt-cli + git clone https://git.pantsu.cat/pantsu/pomf.git + cd pomf/ + npm install + grunt After this, the pomf site is now compressed and set up inside `dist/`. @@ -47,9 +45,7 @@ domain/directory (e.g a.site.com), otherwise a attacker can upload a malicious If you are running Apache and want to compress your output when serving files, add to your `.htaccess` file: -``` -AddOutputFilterByType DEFLATE text/html text/plain text/css application/javascript application/x-javascript application/json -``` + AddOutputFilterByType DEFLATE text/html text/plain text/css application/javascript application/x-javascript application/json Remember to enable `deflate_module` and `filter_module` modules in your Apache configuration file. -- cgit v1.2.3