Fix markdown warnings when building docs.
diff --git a/src/algo/mod.rs b/src/algo/mod.rs
index 6c7ea62..2d3087f 100644
--- a/src/algo/mod.rs
+++ b/src/algo/mod.rs
@@ -47,7 +47,7 @@
 pub use super::dijkstra::dijkstra;
 pub use super::astar::astar;
 
-/// [Generic] Return the number of connected components of the graph.
+/// \[Generic\] Return the number of connected components of the graph.
 ///
 /// For a directed graph, this is the *weakly* connected components.
 /// # Example
@@ -102,7 +102,7 @@
 }
 
 
-/// [Generic] Return `true` if the input graph contains a cycle.
+/// \[Generic\] Return `true` if the input graph contains a cycle.
 ///
 /// Always treats the input graph as if undirected.
 pub fn is_cyclic_undirected<G>(g: G) -> bool
@@ -122,7 +122,7 @@
 }
 
 
-/// [Generic] Perform a topological sort of a directed graph.
+/// \[Generic\] Perform a topological sort of a directed graph.
 ///
 /// If the graph was acyclic, return a vector of nodes in topological order:
 /// each node is ordered before its successors.
@@ -187,7 +187,7 @@
     })
 }
 
-/// [Generic] Return `true` if the input directed graph contains a cycle.
+/// \[Generic\] Return `true` if the input directed graph contains a cycle.
 ///
 /// This implementation is recursive; use `toposort` if an alternative is
 /// needed.
@@ -251,7 +251,7 @@
     f(dfs)
 }
 
-/// [Generic] Check if there exists a path starting at `from` and reaching `to`.
+/// \[Generic\] Check if there exists a path starting at `from` and reaching `to`.
 ///
 /// If `from` and `to` are equal, this function returns true.
 ///
@@ -277,7 +277,7 @@
     kosaraju_scc(g)
 }
 
-/// [Generic] Compute the *strongly connected components* using [Kosaraju's algorithm][1].
+/// \[Generic\] Compute the *strongly connected components* using [Kosaraju's algorithm][1].
 ///
 /// [1]: https://en.wikipedia.org/wiki/Kosaraju%27s_algorithm
 ///
@@ -328,7 +328,7 @@
     sccs
 }
 
-/// [Generic] Compute the *strongly connected components* using [Tarjan's algorithm][1].
+/// \[Generic\] Compute the *strongly connected components* using [Tarjan's algorithm][1].
 ///
 /// [1]: https://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm
 ///
@@ -544,7 +544,7 @@
     condensed
 }
 
-/// [Generic] Compute a *minimum spanning tree* of a graph.
+/// \[Generic\] Compute a *minimum spanning tree* of a graph.
 ///
 /// The input graph is treated as if undirected.
 ///
@@ -647,7 +647,7 @@
 #[derive(Clone, Debug, PartialEq)]
 pub struct NegativeCycle(());
 
-/// [Generic] Compute shortest paths from node `source` to all other.
+/// \[Generic\] Compute shortest paths from node `source` to all other.
 ///
 /// Using the [Bellman–Ford algorithm][bf]; negative edge costs are
 /// permitted, but the graph must not have a cycle of negative weights
diff --git a/src/astar.rs b/src/astar.rs
index a3af04a..b9435f5 100644
--- a/src/astar.rs
+++ b/src/astar.rs
@@ -20,7 +20,7 @@
 
 use crate::algo::Measure;
 
-/// [Generic] A* shortest path algorithm.
+/// \[Generic\] A* shortest path algorithm.
 ///
 /// Computes the shortest path from `start` to `finish`, including the total path cost.
 ///
diff --git a/src/csr.rs b/src/csr.rs
index 0f96a0e..7c603f5 100644
--- a/src/csr.rs
+++ b/src/csr.rs
@@ -43,6 +43,7 @@
 /// Self loops are allowed, no parallel edges.
 ///
 /// Fast iteration of the outgoing edges of a vertex.
+///
 /// [`CSR`]: https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_(CSR,_CRS_or_Yale_format)
 #[derive(Debug)]
 pub struct Csr<N = (), E = (), Ty = Directed, Ix = DefaultIx> {
diff --git a/src/dijkstra.rs b/src/dijkstra.rs
index dd49cf9..b856e60 100644
--- a/src/dijkstra.rs
+++ b/src/dijkstra.rs
@@ -18,7 +18,7 @@
 };
 use crate::algo::Measure;
 
-/// [Generic] Dijkstra's shortest path algorithm.
+/// \[Generic\] Dijkstra's shortest path algorithm.
 ///
 /// Compute the length of the shortest path from `start` to every reachable
 /// node.
diff --git a/src/graph_impl/mod.rs b/src/graph_impl/mod.rs
index 3436bb1..d3c7d1b 100644
--- a/src/graph_impl/mod.rs
+++ b/src/graph_impl/mod.rs
@@ -1535,7 +1535,7 @@
     edges: &'a [Edge<E, Ix>],
 
     /// Next edge to visit.
-    /// If we are only following one direction, we only use next[0] regardless.
+    /// If we are only following one direction, we only use `next[0]` regardless.
     next: [EdgeIndex<Ix>; 2],
 
     /// Which direction to follow
diff --git a/src/graph_impl/stable_graph/mod.rs b/src/graph_impl/stable_graph/mod.rs
index 1f6094d..c730336 100644
--- a/src/graph_impl/stable_graph/mod.rs
+++ b/src/graph_impl/stable_graph/mod.rs
@@ -1291,7 +1291,7 @@
     edges: &'a [Edge<Option<E>, Ix>],
 
     /// Next edge to visit.
-    /// If we are only following one direction, we only use next[0] regardless.
+    /// If we are only following one direction, we only use `next[0]` regardless.
     next: [EdgeIndex<Ix>; 2],
 
     /// Which direction to follow