Add 'dedent' to documentation index (#9615)
This commit is contained in:
parent
2eff0ca2b8
commit
62693457df
1 changed files with 1 additions and 0 deletions
|
|
@ -1262,6 +1262,7 @@ proc indent*(s: string, count: Natural, padding: string = " "): string
|
||||||
proc unindent*(s: string, count: Natural, padding: string = " "): string
|
proc unindent*(s: string, count: Natural, padding: string = " "): string
|
||||||
{.noSideEffect, rtl, extern: "nsuUnindent".} =
|
{.noSideEffect, rtl, extern: "nsuUnindent".} =
|
||||||
## Unindents each line in ``s`` by ``count`` amount of ``padding``.
|
## Unindents each line in ``s`` by ``count`` amount of ``padding``.
|
||||||
|
## Sometimes called `dedent`:idx:
|
||||||
##
|
##
|
||||||
## **Note:** This does not preserve the new line characters used in ``s``.
|
## **Note:** This does not preserve the new line characters used in ``s``.
|
||||||
runnableExamples:
|
runnableExamples:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue