Skip to content

Commit

Permalink
Convert backtick (`) admonition fences to tildes (~). (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored Oct 6, 2023
1 parent 2becd7f commit e7bad84
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions exercises/practice/atbash-cipher/.approaches/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,15 @@ end

A solution by [halfdan](https://exercism.io/tracks/julia/exercises/atbash-cipher/solutions/419b6f4d04974a63b7f8531e8ad2808c).

```exercism/warning
~~~~exercism/warning
This solution will mangle non-[ascii][ascii] letter characters and pass-through symbols, separators, etc.
because it assumes that `isletter(c)` is the same as `c in 'a':'z' || c in 'A':'Z'` (it actually matches all unicode letters).
This is a common mistake and can cause real issues!
If you want to ensure your input is ascii you can use `ascii()`, or `isascii()`, or the Strs.jl package.
```
~~~~

```julia
encode(input) = atbash(input, group=true)
Expand Down
4 changes: 2 additions & 2 deletions exercises/practice/gigasecond/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ Then we can use metric system prefixes for writing large numbers of seconds in m
- Perhaps you and your family would travel to somewhere exotic for two megaseconds (that's two million seconds).
- And if you and your spouse were married for _a thousand million_ seconds, you would celebrate your one gigasecond anniversary.

```exercism/note
~~~~exercism/note
If we ever colonize Mars or some other planet, measuring time is going to get even messier.
If someone says "year" do they mean a year on Earth or a year on Mars?
The idea for this exercise came from the science fiction novel ["A Deepness in the Sky"][vinge-novel] by author Vernor Vinge.
In it the author uses the metric system as the basis for time measurements.
[vinge-novel]: https://www.tor.com/2017/08/03/science-fiction-with-something-for-everyone-a-deepness-in-the-sky-by-vernor-vinge/
```
~~~~
4 changes: 2 additions & 2 deletions exercises/practice/pangram/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ To give a comprehensive sense of the font, the random sentences should use **all
They're running a competition to get suggestions for sentences that they can use.
You're in charge of checking the submissions to see if they are valid.

```exercism/note
~~~~exercism/note
Pangram comes from Greek, παν γράμμα, pan gramma, which means "every letter".
The best known English pangram is:
> The quick brown fox jumps over the lazy dog.
```
~~~~
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ This works because:
└─ The beginning/base of the alphabet.
```

```exercism/advanced
~~~~exercism/advanced
Iterating a UTF-8 string is slow because it's a variable length encoding. It is often faster to iterate a collection with elements of a fixed size (a vector of `UInt8`s from `transcode()` or an `ASCIIStr` (from Strs.jl), perhaps).
Expand All @@ -67,7 +67,7 @@ See the dig deeper pages for the [pangram][dd-pg], [nucleotide count][dd-nc], an
[dd-nc]: https://exercism.org/tracks/julia/exercises/nucleotide-count/dig_deeper
[dd-l]: https://exercism.org/tracks/julia/exercises/luhn/dig_deeper
```
~~~~

## Bonus macro task

Expand Down

0 comments on commit e7bad84

Please sign in to comment.