From f178277f28b21b72ce77ef76007f1333bdf199cc Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Wed, 27 Sep 2023 09:17:18 +0200 Subject: [PATCH] Convert backtick (`) admonition fences to tildes (~). --- exercises/practice/atbash-cipher/.approaches/introduction.md | 4 ++-- exercises/practice/gigasecond/.docs/introduction.md | 4 ++-- exercises/practice/pangram/.docs/introduction.md | 4 ++-- .../practice/rotational-cipher/.approaches/introduction.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/exercises/practice/atbash-cipher/.approaches/introduction.md b/exercises/practice/atbash-cipher/.approaches/introduction.md index c1fb04e1..7e3c4322 100644 --- a/exercises/practice/atbash-cipher/.approaches/introduction.md +++ b/exercises/practice/atbash-cipher/.approaches/introduction.md @@ -170,7 +170,7 @@ 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). @@ -178,7 +178,7 @@ 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) diff --git a/exercises/practice/gigasecond/.docs/introduction.md b/exercises/practice/gigasecond/.docs/introduction.md index 74afaa99..18a3dc20 100644 --- a/exercises/practice/gigasecond/.docs/introduction.md +++ b/exercises/practice/gigasecond/.docs/introduction.md @@ -13,7 +13,7 @@ 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? @@ -21,4 +21,4 @@ The idea for this exercise came from the science fiction novel ["A Deepness in t 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/ -``` +~~~~ diff --git a/exercises/practice/pangram/.docs/introduction.md b/exercises/practice/pangram/.docs/introduction.md index d38fa341..32b6f1fc 100644 --- a/exercises/practice/pangram/.docs/introduction.md +++ b/exercises/practice/pangram/.docs/introduction.md @@ -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. -``` +~~~~ diff --git a/exercises/practice/rotational-cipher/.approaches/introduction.md b/exercises/practice/rotational-cipher/.approaches/introduction.md index 8097d117..1251b690 100644 --- a/exercises/practice/rotational-cipher/.approaches/introduction.md +++ b/exercises/practice/rotational-cipher/.approaches/introduction.md @@ -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). @@ -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