summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2015-09-23 17:16:25 +0200
committerJuuso Lapinlampi <wub@partyvan.eu>2015-09-23 17:16:25 +0200
commit7498d40fddc99c5b8f8d0a3151879873852d29a3 (patch)
tree68a6bb9810fdfd1cb90b1d543bf8e9bbbdcff6fa
parent5cbe48ca37b5d08e57015a1f83adcc2b27607c5d (diff)
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.
-rw-r--r--README.md16
1 files changed, 6 insertions, 10 deletions
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.