Document more commands added in 0.21.

This commit is contained in:
Qi Xiao 2024-05-04 18:56:12 +01:00
parent 8ea32c7028
commit df840c28c6
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,10 @@
- The `os` module has gained the following new commands: `mkdir-all`,
`symlink` and `rename`.
- A new `render-styledown` command.
- A new `str:repeat` command.
- A new `md` module, currently containing a single function `md:show` for
rendering Markdown in the terminal.

View File

@ -122,6 +122,7 @@ fn styled-segment {|object &fg-color=default &bg-color=default &bold=$false &dim
# See also [`render-styledown`]().
fn styled {|object @style-transformer| }
#doc:added-in 0.21
# Renders "styledown" markup into a styled text. For the styledown markup
# format, see <https://pkg.go.dev/src.elv.sh@master/pkg/ui/styledown>.
#