Skip to content

Commit bc3e4d5

Browse files
authored
Normalize reference links (#2116)
Use only lowercase ASCII letters and hyphens in markdown reference links.
1 parent cb1fa61 commit bc3e4d5

File tree

15 files changed

+36
-36
lines changed

15 files changed

+36
-36
lines changed

exercises/affine-cipher/description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The MMI of `a` is `x` such that the remainder after dividing `ax` by `m` is `1`:
5252
ax mod m = 1
5353
```
5454

55-
More information regarding how to find a Modular Multiplicative Inverse and what it means can be found in the [related Wikipedia article][MMI].
55+
More information regarding how to find a Modular Multiplicative Inverse and what it means can be found in the [related Wikipedia article][mmi].
5656

5757
## General Examples
5858

@@ -70,5 +70,5 @@ Finding MMI for `a = 15`:
7070
- `(15 * 7) mod 26 = 1`, ie. `105 mod 26 = 1`
7171
- `7` is the MMI of `15 mod 26`
7272

73-
[MMI]: https://en.wikipedia.org/wiki/Modular_multiplicative_inverse
73+
[mmi]: https://en.wikipedia.org/wiki/Modular_multiplicative_inverse
7474
[coprime-integers]: https://en.wikipedia.org/wiki/Coprime_integers

exercises/alphametics/description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Write a function to solve alphametics puzzles.
44

5-
[Alphametics][] is a puzzle where letters in words are replaced with numbers.
5+
[Alphametics][alphametics] is a puzzle where letters in words are replaced with numbers.
66

77
For example `SEND + MORE = MONEY`:
88

@@ -30,4 +30,4 @@ a multi-digit number must not be zero.
3030

3131
Write a function to solve alphametics puzzles.
3232

33-
[Alphametics]: https://en.wikipedia.org/wiki/Alphametics
33+
[alphametics]: https://en.wikipedia.org/wiki/Alphametics

exercises/connect/description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Compute the result for a game of Hex / Polygon.
44

5-
The abstract boardgame known as [Hex][] / Polygon /
5+
The abstract boardgame known as [Hex][hex] / Polygon /
66
CON-TAC-TIX is quite simple in rules, though complex in practice. Two players
77
place stones on a parallelogram with hexagonal fields. The player to connect his/her
88
stones to the opposite side first wins. The four sides of the parallelogram are
@@ -29,4 +29,4 @@ The boards look like this:
2929
the above example `O` has made a connection from left to right but nobody has
3030
won since `O` didn't connect top and bottom.
3131

32-
[Hex]: https://en.wikipedia.org/wiki/Hex_%28board_game%29
32+
[hex]: https://en.wikipedia.org/wiki/Hex_%28board_game%29

exercises/darts/description.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Write a function that returns the earned points in a single toss of a Darts game.
44

5-
[Darts][] is a game where players
5+
[Darts][darts] is a game where players
66
throw darts at a [target][darts-target].
77

88
In our particular instance of the game, the target rewards 4 different amounts of points, depending on where the dart lands:
@@ -16,8 +16,8 @@ The outer circle has a radius of 10 units (this is equivalent to the total radiu
1616

1717
Write a function that given a point in the target (defined by its [Cartesian coordinates][cartesian-coordinates] `x` and `y`, where `x` and `y` are [real][real-numbers]), returns the correct amount earned by a dart landing at that point.
1818

19-
[Darts]: https://en.wikipedia.org/wiki/Darts
20-
[darts-target]: https://en.wikipedia.org/wiki/Darts#/media/File:Darts_in_a_dartboard.jpg
21-
[concentric]: http://mathworld.wolfram.com/ConcentricCircles.html
22-
[cartesian-coordinates]: https://www.mathsisfun.com/data/cartesian-coordinates.html
23-
[real-numbers]: https://www.mathsisfun.com/numbers/real-numbers.html
19+
[darts]: https://en.wikipedia.org/wiki/Darts
20+
[darts-target]: https://en.wikipedia.org/wiki/Darts#/media/File:Darts_in_a_dartboard.jpg
21+
[concentric]: http://mathworld.wolfram.com/ConcentricCircles.html
22+
[cartesian-coordinates]: https://www.mathsisfun.com/data/cartesian-coordinates.html
23+
[real-numbers]: https://www.mathsisfun.com/numbers/real-numbers.html

exercises/dnd-character/description.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Description
22

3-
For a game of [Dungeons & Dragons][DND], each player starts by generating a
3+
For a game of [Dungeons & Dragons][dnd], each player starts by generating a
44
character they can play with. This character has, among other things, six
55
abilities; strength, dexterity, constitution, intelligence, wisdom and
66
charisma. These six abilities have scores that are determined randomly. You
@@ -27,7 +27,7 @@ Because constitution is 3, the constitution modifier is -4 and the hitpoints are
2727
## Notes
2828

2929
Most programming languages feature (pseudo-)random generators, but few
30-
programming languages are designed to roll dice. One such language is [Troll].
30+
programming languages are designed to roll dice. One such language is [Troll][troll].
3131

32-
[DND]: https://en.wikipedia.org/wiki/Dungeons_%26_Dragons
33-
[Troll]: http://hjemmesider.diku.dk/~torbenm/Troll/
32+
[dnd]: https://en.wikipedia.org/wiki/Dungeons_%26_Dragons
33+
[troll]: http://hjemmesider.diku.dk/~torbenm/Troll/

exercises/dot-dsl/description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ One problem area where they are applied are complex customizations/configuration
99

1010
For example the [DOT language][dot-language] allows
1111
you to write a textual description of a graph which is then transformed into a picture by one of
12-
the [Graphviz][] tools (such as `dot`). A simple graph looks like this:
12+
the [Graphviz][graphviz] tools (such as `dot`). A simple graph looks like this:
1313

1414
graph {
1515
graph [bgcolor="yellow"]
@@ -33,5 +33,5 @@ found [here][fowler-dsl].
3333

3434
[dsl]: https://en.wikipedia.org/wiki/Domain-specific_language
3535
[dot-language]: https://en.wikipedia.org/wiki/DOT_(graph_description_language)
36-
[Graphviz]: http://graphviz.org/
36+
[graphviz]: http://graphviz.org/
3737
[fowler-dsl]: https://martinfowler.com/bliki/DomainSpecificLanguage.html

exercises/forth/description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Implement an evaluator for a very simple subset of Forth.
44

5-
[Forth][]
5+
[Forth][forth]
66
is a stack-based programming language. Implement a very basic evaluator
77
for a small subset of Forth.
88

@@ -25,4 +25,4 @@ enough.)
2525

2626
Words are case-insensitive.
2727

28-
[Forth]: https://en.wikipedia.org/wiki/Forth_%28programming_language%29
28+
[forth]: https://en.wikipedia.org/wiki/Forth_%28programming_language%29

exercises/hangman/description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Implement the logic of the hangman game using functional reactive programming.
44

5-
[Hangman][] is a simple word guessing game.
5+
[Hangman][hangman] is a simple word guessing game.
66

77
[Functional Reactive Programming][frp] is a way to write interactive
88
programs. It differs from the usual perspective in that instead of
@@ -14,5 +14,5 @@ Implement the basic logic behind hangman using functional reactive
1414
programming. You'll need to install an FRP library for this, this will
1515
be described in the language/track specific files of the exercise.
1616

17-
[Hangman]: https://en.wikipedia.org/wiki/Hangman_%28game%29
17+
[hangman]: https://en.wikipedia.org/wiki/Hangman_%28game%29
1818
[frp]: https://en.wikipedia.org/wiki/Functional_reactive_programming

exercises/house/description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Recite the nursery rhyme 'This is the House that Jack Built'.
99
> Furthermore, embedding also allows us to construct an infinitely long
1010
> structure, in theory anyway.
1111
12-
- [papyr.com][]
12+
- [papyr.com][papyr]
1313

1414
The nursery rhyme reads as follows:
1515

@@ -105,4 +105,4 @@ that ate the malt
105105
that lay in the house that Jack built.
106106
```
107107

108-
[papyr.com]: http://papyr.com/hypertextbooks/grammar/ph_noun.htm
108+
[papyr]: http://papyr.com/hypertextbooks/grammar/ph_noun.htm

exercises/paasio/description.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Report network IO statistics.
44

5-
You are writing a [PaaS][], and you need a way to bill customers based
5+
You are writing a [PaaS][paas], and you need a way to bill customers based
66
on network and filesystem usage.
77

88
Create a wrapper for network connections and files that can report IO
@@ -11,4 +11,4 @@ statistics. The wrapper must report:
1111
- The total number of bytes read/written.
1212
- The total number of read/write operations.
1313

14-
[PaaS]: http://en.wikipedia.org/wiki/Platform_as_a_service
14+
[paas]: http://en.wikipedia.org/wiki/Platform_as_a_service

0 commit comments

Comments
 (0)