about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-21T09·14+0100
committerVincent Ambo <github@tazj.in>2019-08-21T09·19+0100
commit5f4664ad5aea4596e1693b822133f58b17b248a8 (patch)
tree5b774ee10b4aa6eacb0c358268df54457d3d1a3c
parent19d6d5a16ccbb4d6d38034d3d636180231018ba5 (diff)
Fix rendering of pipes in code blocks across dialects
Pipes inside of code blocks inside of tables seem to pose a challenge
for some Markdown renderers. Not a problem for Github's but this page
is occasionally embedded in other documentation (such as nixery.dev)
-rw-r--r--nix/nix-1p/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/nix-1p/README.md b/nix/nix-1p/README.md
index ef3e97ae1d75..9491684d6d46 100644
--- a/nix/nix-1p/README.md
+++ b/nix/nix-1p/README.md
@@ -117,8 +117,8 @@ Nix has several operators, most of which are unsurprising:
 | `==`                 | Equality                                                                    |
 | `>`, `>=`, `<`, `<=` | Ordering comparators                                                        |
 | `&&`                 | Logical `AND`                                                               |
-| `\|\|`               | Logical `OR`                                                                |
-| `e1 -> e2`           | Logical implication (i.e. `!e1 \|\| e2`)                                    |
+| <code>&vert;&vert;</code> | Logical `OR`                                                           |
+| `e1 -> e2`           | Logical implication (i.e. <code>!e1 &vert;&vert; e2</code>)                 |
 | `!`                  | Boolean negation                                                            |
 | `set.attr`           | Access attribute `attr` in attribute set `set`                              |
 | `set ? attribute`    | Test whether attribute set contains an attribute                            |