diff --git a/bin/lint_markdown.sh b/bin/lint_markdown.sh index 52b75c2a..e6be7aa5 100755 --- a/bin/lint_markdown.sh +++ b/bin/lint_markdown.sh @@ -1,7 +1,10 @@ #!/usr/bin/env bash set -eo pipefail -npx markdownlint-cli \ +markdownlint_cli_args="$1" + +npx markdownlint-cli2 \ + $markdownlint_cli_args \ docs/*.md \ concepts/**/*.md \ exercises/**/*.md diff --git a/concepts/strings/introduction.md b/concepts/strings/introduction.md index d5e1124b..65363258 100644 --- a/concepts/strings/introduction.md +++ b/concepts/strings/introduction.md @@ -1,3 +1,6 @@ # Introduction -In Cairo, there's no native type for strings. Instead, you can use a single `felt252` to store a short string of up to 31 characters, or a `ByteArray` for strings of arbitrary length. Short strings use single quotes and `ByteArray` uses double quotes. All characters must follow the ASCII standard. +In Cairo, there's no native type for strings. Instead, you can use a single +`felt252` to store a short string of up to 31 characters, or a `ByteArray` +for strings of arbitrary length. Short strings use single quotes and +`ByteArray` uses double quotes. All characters must follow the ASCII standard. diff --git a/docs/ABOUT.md b/docs/ABOUT.md index 996dd35d..c12f6b41 100644 --- a/docs/ABOUT.md +++ b/docs/ABOUT.md @@ -1,7 +1,11 @@ # About -[Cairo](https://www.cairo-lang.org/) is a Rust-inspired language that aims to make it easy to build scalable [dApps](https://en.wikipedia.org/wiki/Decentralized_application) with the power of [validity proofs](https://en.wikipedia.org/wiki/Zero-knowledge_proof). +[Cairo][cairo] is a Rust-inspired language that aims to make it easy to build +scalable [dApps][dapps] with the power of [validity proofs][zkp]. +[cairo]: https://www.cairo-lang.org/ +[dapps]: https://en.wikipedia.org/wiki/Decentralized_application +[zkp]: https://en.wikipedia.org/wiki/Zero-knowledge_proof + See https://exercism.org/docs/building/tracks/shared-files for more + information. -->