diff options
author | Clyybber <darkmine956@gmail.com> | 2020-09-22 10:43:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 10:43:12 +0200 |
commit | d67c5cb75171fcbf1ca9078452e8fcbe36fc79bc (patch) | |
tree | 461841c502d8921b1b4b42c46f66930ad17f6f79 /changelog.md | |
parent | aca9c5fb30fe2de12671e9103e93b81201bb8e71 (diff) | |
download | Nim-d67c5cb75171fcbf1ca9078452e8fcbe36fc79bc.tar.gz |
Add strutils.indentation and make unindent use it (#15264)
* Add strutils.indentation and make unindent use it * Code style * Fix bootstrapping * Improve wording * Fix test * Introduce without breaking change * Fix * Reduce diff * Fix docs link * Add since annotation * Update changelog
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index e7afaa229..1bc1d7303 100644 --- a/changelog.md +++ b/changelog.md @@ -187,6 +187,15 @@ - Add missing attributes and methods to `dom.Navigator` like `deviceMemory`, `onLine`, `vibrate()`, etc. +- Added `strutils.indentation` and `strutils.dedent` which enable indented string literals: + ```nim + import strutils + echo dedent """ + This + is + cool! + """ + ``` ## Language changes |