Changing heading level of 'Alternate code'
Change level 3 (###) to level 2 (##):
sgit -e 's/^### \(Alternate code\)/## \1/g' '*README.md'
which is the same as:
sgit -e 's/^### Alternate code/## Alternate code/g' '*README.md'
This is per discussion in GitHub.
This commit is contained in:
1 parent
b77347cc35
commit
684ed89d7e
62 files changed
+62
-62
No files matched your search
@@ -18,7 +18,7 @@ make
|
||||
```
|
||||
|
||||
|
||||
### Alternate code:
|
||||
## Alternate code:
|
||||
|
||||
The author provided a way to speed it up a bit and also how to make it so it
|
||||
doesn't crash on losing. The idea that it crashes on losing was too good to
|
||||
|
||||
@@ -73,7 +73,7 @@ diff herrmann2.alt.c herrmann2.orig.c && echo "output matches with original code
|
||||
```
|
||||
|
||||
|
||||
### Alternate code:
|
||||
## Alternate code:
|
||||
|
||||
If you wish to use the original version that does not work for all platforms,
|
||||
you can make use of the [herrmann2.alt.c](herrmann2.alt.c) by running:
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ paddle. See below Alternate code.
|
||||
```
|
||||
|
||||
|
||||
### Alternate code:
|
||||
## Alternate code:
|
||||
|
||||
To use:
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ make
|
||||
```
|
||||
|
||||
|
||||
### Alternate code:
|
||||
## Alternate code:
|
||||
|
||||
An alternate version of this entry, [westley.alt.c](westley.alt.c), is provided.
|
||||
This alternate code might be less portable.
|
||||
|
||||
Reference in new issue
Block a user