use single backtick (#17181)

This commit is contained in:
flywind 2021-02-24 23:47:27 -06:00 • committed by GitHub
commit fcb5cf643c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 381 additions and 381 deletions

View file

@ -149,9 +149,9 @@ proc encode*[T: SomeInteger|char](s: openArray[T], safe = false): string =
## This procedure encodes an openarray (array or sequence) of either integers
## or characters.
##
## If ``safe`` is ``true`` then it will encode using the
## If `safe` is `true` then it will encode using the
## URL-Safe and Filesystem-safe standard alphabet characters,
## which substitutes ``-`` instead of ``+`` and ``_`` instead of ``/``.
## which substitutes `-` instead of `+` and `_` instead of `/`.
## * https://en.wikipedia.org/wiki/Base64#URL_applications
## * https://tools.ietf.org/html/rfc4648#page-7
##
@ -165,13 +165,13 @@ proc encode*[T: SomeInteger|char](s: openArray[T], safe = false): string =
encodeImpl()
proc encode*(s: string, safe = false): string =
## Encodes ``s`` into base64 representation.
## Encodes `s` into base64 representation.
##
## This procedure encodes a string.
##
## If ``safe`` is ``true`` then it will encode using the
## If `safe` is `true` then it will encode using the
## URL-Safe and Filesystem-safe standard alphabet characters,
## which substitutes ``-`` instead of ``+`` and ``_`` instead of ``/``.
## which substitutes `-` instead of `+` and `_` instead of `/`.
## * https://en.wikipedia.org/wiki/Base64#URL_applications
## * https://tools.ietf.org/html/rfc4648#page-7
##
@ -183,8 +183,8 @@ proc encode*(s: string, safe = false): string =
encodeImpl()
proc encodeMime*(s: string, lineLen = 75, newLine = "\r\n"): string =
## Encodes ``s`` into base64 representation as lines.
## Used in email MIME format, use ``lineLen`` and ``newline``.
## Encodes `s` into base64 representation as lines.
## Used in email MIME format, use `lineLen` and `newline`.
##
## This procedure encodes a string according to MIME spec.
##
@ -215,7 +215,7 @@ const
decodeTable = initDecodeTable()
proc decode*(s: string): string =
## Decodes string ``s`` in base64 representation back into its original form.
## Decodes string `s` in base64 representation back into its original form.
## The initial whitespace is skipped.
##
## **See also:**