mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-02 20:14:44 +00:00
Add 'dedent' to documentation index (#9615)
This commit is contained in:
committed by
Andreas Rumpf
parent
2eff0ca2b8
commit
62693457df
@@ -1262,6 +1262,7 @@ proc indent*(s: string, count: Natural, padding: string = " "): string
|
||||
proc unindent*(s: string, count: Natural, padding: string = " "): string
|
||||
{.noSideEffect, rtl, extern: "nsuUnindent".} =
|
||||
## 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``.
|
||||
runnableExamples:
|
||||
|
||||
Reference in New Issue
Block a user