Skip to content

Commit 92c05d6

Browse files
committed
Auto-generated commit
1 parent e6b088e commit 92c05d6

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ npm install @stdlib/string-truncate-middle
5252
var truncateMiddle = require( '@stdlib/string-truncate-middle' );
5353
```
5454

55-
#### truncate( str, len[, seq] )
55+
#### truncate( str, len\[, seq] )
5656

5757
Truncates a string in the middle to a specified length.
5858

@@ -119,7 +119,6 @@ out = truncateMiddle( str, 7, '🐺🐺🐺' );
119119

120120
<!-- /.examples -->
121121

122-
123122
<!-- Section for describing a command-line interface. -->
124123

125124
* * *
@@ -197,6 +196,20 @@ Hel|d!
197196

198197
<!-- /.references -->
199198

199+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
200+
201+
<section class="related">
202+
203+
* * *
204+
205+
## See Also
206+
207+
- <span class="package-name">[`@stdlib/string/truncate`][@stdlib/string/truncate]</span><span class="delimiter">: </span><span class="description">truncate a string to a specified length.</span>
208+
209+
</section>
210+
211+
<!-- /.related -->
212+
200213
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
201214

202215

@@ -254,6 +267,12 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
254267

255268
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/string-truncate-middle/main/LICENSE
256269

270+
<!-- <related-links> -->
271+
272+
[@stdlib/string/truncate]: https://github.com/stdlib-js/string-truncate
273+
274+
<!-- </related-links> -->
275+
257276
</section>
258277

259278
<!-- /.links -->

0 commit comments

Comments
 (0)