Repository: glium/glium (language: rust)

Issue:
`#version 140` in book codeblocks is hidden by rustdoc
Easy fix if the intention is for examples to only be viewable using mdbook.

Could not find contribution guidelines, but am willing to just put a PR as its a really small fix/issue.
[see code block in this section](https://glium.github.io/glium/book/tuto-02-triangle.html#program).

The `#` needs to be escaped so that it is `## version 140`, otherwise Rustdoc / mdbook hides lines starting with `#`. See Rustdoc docs [here](https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html#hiding-portions-of-the-example)

Could be a source of confusion.



Discussion / hints:
PRs welcome!

Fix patch:
diff --git a/book/tuto-02-triangle.md b/book/tuto-02-triangle.md
index 24edc53b8a..29ce12fc87 100644
--- a/book/tuto-02-triangle.md
+++ b/book/tuto-02-triangle.md
@@ -71,7 +71,7 @@ The tricky part is that *we* need to write the vertex and fragment shaders. To d
 
 ```rust
 let vertex_shader_src = r#"
-    #version 140
+    ##version 140
 
     in vec2 position;
 
@@ -91,7 +91,7 @@ The second shader is called the fragment shader (sometimes also named *pixel sha
 
 ```rust
 let fragment_shader_src = r#"
-    #version 140
+    ##version 140
 
     out vec4 color;
 
diff --git a/book/tuto-03-animated-triangle.md b/book/tuto-03-animated-triangle.md
index 3c0a825b7d..8ea2450de4 100644
--- a/book/tuto-03-animated-triangle.md
+++ b/book/tuto-03-animated-triangle.md
@@ -113,7 +113,7 @@ And instead we are going to do a small change in our vertex shader:
 
 ```rust
 let vertex_shader_src = r#"
-    #version 140
+    ##version 140
 
     in vec2 position;
 
diff --git a/book/tuto-04-matrices.md b/book/tuto-04-matrices.md
index 732601cc41..d41b0181f0 100644
--- a/book/tuto-04-matrices.md
+++ b/book/tuto-04-matrices.md
@@ -17,7 +17,7 @@ Let's get back to our moving triangle. We are going to change the vertex shader
 
 ```rust
 let vertex_shader_src = r#"
-    #version 140
+    ##version 140
 
     in vec2 position;
 


Test patch: