forked from extern/nushell
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
891 B
891 B
title | layout | version |
---|---|---|
to html | command | 0.59.0 |
Convert table into simple HTML
Signature
> to html --html-color --no-color --dark --partial --theme --list
Parameters
--html-color
: change ansi colors to html colors--no-color
: remove all ansi colors in output--dark
: indicate your background color is a darker color--partial
: only output the html for the content itself--theme {string}
: the name of the theme to use (github, blulocolight, ...)--list
: list the names of all available themes
Examples
Outputs an HTML string representing the contents of this table
> [[foo bar]; [1 2]] | to html
Optionally, only output the html for the content itself
> [[foo bar]; [1 2]] | to html --partial
Optionally, output the string with a dark background
> [[foo bar]; [1 2]] | to html --dark