Add 'dedent' to documentation index (#9615)

This commit is contained in:
Federico Ceratto
2018-11-04 07:36:13 +00:00
committed by Andreas Rumpf
parent 2eff0ca2b8
commit 62693457df

View File

@@ -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: