diff options
author | Akshay <[email protected]> | 2020-04-01 07:29:21 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-04-01 07:29:21 +0100 |
commit | c7972dc942aea0808f4d4068dacd15ab8c73f9e2 (patch) | |
tree | fe06760d95e292ac271d6f5e180b623df0a05613 /docs/posts | |
parent | 709f56c17a8563ef9388f85ce9faeadb1e1d07f4 (diff) |
fix heading formatting
Diffstat (limited to 'docs/posts')
-rw-r--r-- | docs/posts/rapid_refactoring_with_vim/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/posts/rapid_refactoring_with_vim/index.html b/docs/posts/rapid_refactoring_with_vim/index.html index 4e33a31..00c9a80 100644 --- a/docs/posts/rapid_refactoring_with_vim/index.html +++ b/docs/posts/rapid_refactoring_with_vim/index.html | |||
@@ -71,7 +71,7 @@ prefixed with the arrow):</p> | |||
71 | } | 71 | } |
72 | </code></pre> | 72 | </code></pre> |
73 | 73 | ||
74 | <h2 id="The%20arglist">The arglist</h2> | 74 | <h3 id="The%20arglist">The arglist</h3> |
75 | 75 | ||
76 | <p>For the initial pass, I decided to handle imports, this was | 76 | <p>For the initial pass, I decided to handle imports, this was |
77 | a simple find and replace operation, done to all the files | 77 | a simple find and replace operation, done to all the files |
@@ -103,7 +103,7 @@ every file in the arglist:</p> | |||
103 | <pre><code>:argdo s/from_str/from_value/g | 103 | <pre><code>:argdo s/from_str/from_value/g |
104 | </code></pre> | 104 | </code></pre> |
105 | 105 | ||
106 | <h2 id="The%20quickfix%20list">The quickfix list</h2> | 106 | <h3 id="The%20quickfix%20list">The quickfix list</h3> |
107 | 107 | ||
108 | <p>Next up, replacing <code>r#" ... "#</code> with <code>json!( ... )</code>. I | 108 | <p>Next up, replacing <code>r#" ... "#</code> with <code>json!( ... )</code>. I |
109 | couldn't search and replace that trivially, so I went with a | 109 | couldn't search and replace that trivially, so I went with a |
@@ -168,7 +168,7 @@ the list, vim indicates your index:</p> | |||
168 | <p>But, I had to manually pick out matches, and it involved | 168 | <p>But, I had to manually pick out matches, and it involved |
169 | some button mashing.</p> | 169 | some button mashing.</p> |
170 | 170 | ||
171 | <h2 id="External%20Filtering">External Filtering</h2> | 171 | <h3 id="External%20Filtering">External Filtering</h3> |
172 | 172 | ||
173 | <p>Some code reviews later, I was asked to format all the json | 173 | <p>Some code reviews later, I was asked to format all the json |
174 | inside the <code>json!</code> macro. All you have to do is pass a | 174 | inside the <code>json!</code> macro. All you have to do is pass a |