diff --git a/rich-diff/index.html b/rich-diff/index.html index 4086dab..0874d88 100644 --- a/rich-diff/index.html +++ b/rich-diff/index.html @@ -405,7 +405,7 @@

Versions

CONSOLE_SVG_FORMAT Diff

--- 
diff --git a/search/search_index.json b/search/search_index.json
index 1cee365..a3ee111 100644
--- a/search/search_index.json
+++ b/search/search_index.json
@@ -1 +1 @@
-{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Yartsu","text":"

yartsu, another rich terminal screenshot utility

Documentation

NOTE: this is a currently in a beta release and the API is subject to change (feedback welcome)

Inspired by recent commits in the wonderful library rich I decided to write yartsu.

I needed to programmatically generate screenshots for documentation purposes. The new export_svg methods in rich were a godsend. So I wanted to try to make this feature a little more generalizable to program output outside of rich/python. Hopefully, you find it useful.

If you come across anything unexpected please submit an issue.

"},{"location":"#install","title":"Install","text":"
pipx install yartsu\n# OR\npip install yartsu\n
"},{"location":"#releases","title":"Releases","text":"

There is a standalone binary available for linux in the releases (Support for additional platforms is planned).

Optionally install with eget:

eget daylinmorgan/yartsu\n

Otherwise you can download an extract manually to somewhere on your path.

"},{"location":"#usage","title":"Usage","text":"

Getting a properly formatted output from a terminal screenshot is challenging.

There are three options for generating a screenshot.

If one of the below option causes you any headaches consider first trying a different option.

"},{"location":"#option-1-pipes","title":"Option 1: Pipes","text":"

Many tools that color output (i.e. grep or ls) additionally allow you to force ANSI color codes to be included even when piping output.

In these cases you can simply pipe the output directly into yartsu

ls --color=always | yartsu -w 50 -o assets/ls_color.svg\n
"},{"location":"#option-2-subprocesspty","title":"Option 2: Subprocess/Pty","text":"

With this option yartsu will deploy a subprocess and pty to run your command for you in an attempt to preserve ANSI.

Note with this option you need to separate the command you want to run with yartsu args using --.

yartsu -w 50 -o assets/ls_color.svg -- ls --color /\n
"},{"location":"#option-3-text-file","title":"Option 3: Text File","text":"

Finally, if you neither of the above options work and you can manage to preserve the codes in a plain text file you can pass this as input to yartsu.

ls --color > ls.txt\nyartsu -w 50 -i ls.txt -o assets/ls_color.svg\n

By default svgs will be saved at ./capture.svg.

Additionally, for options 1 and 3 you may want to define your own title with -t/--title. For option 2 the title will by default be the cmd ran by yartsu.

"},{"location":"#themes","title":"Themes","text":"

There are a number of themes you can use to style output. Use yartsu --list-themes to see the available options. Then you can specify the theme you want with --theme, i.e. yartsu --theme rich_default. You may also use the environment variable YARTSU_THEME.

See here a preview of the available themes

"},{"location":"#differences-from-rich","title":"Differences from Rich","text":"

For both practical and stylistic reasons the underlying code used to generate the SVG is slightly different than rich's default save_svg method. See here for the current deviation between the latest releases of each respective release.

"},{"location":"rich-diff/","title":"Deviation From Rich","text":""},{"location":"rich-diff/#versions","title":"Versions","text":"
  • Rich: 13.3.5
  • Yartsu: 23.5.1b2.dev25+ga14608d
"},{"location":"rich-diff/#console_svg_format-diff","title":"CONSOLE_SVG_FORMAT Diff","text":"
--- \n+++ \n@@ -1,5 +1,5 @@\n-<svg class=\"rich-terminal\" viewBox=\"0 0 {width} {height}\" xmlns=\"http://www.w3.org/2000/svg\">\n-    <!-- Generated with Rich https://www.textualize.io -->\n+<svg class=\"rich-terminal shadow\" viewBox=\"0 0 {width} {height}\" xmlns=\"http://www.w3.org/2000/svg\">\n+    <!-- Generated with Rich https://www.textualize.io & yartsu https://github.com/daylinmorgan/yartsu -->\n    <style>\n\n    @font-face {{\n@@ -32,6 +32,10 @@\n        font-family: arial;\n     }}\n\n+    .shadow {{\n+        -webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));\n+        filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));\n+    }}\n    {styles}\n     </style>\n\n@@ -43,7 +47,7 @@\n    </defs>\n\n    {chrome}\n-    <g transform=\"translate({terminal_x}, {terminal_y})\" clip-path=\"url(#{unique_id}-clip-terminal)\">\n+    <g transform=\"translate({terminal_x}, {terminal_y}) scale(.95)\" clip-path=\"url(#{unique_id}-clip-terminal)\">\n    {backgrounds}\n     <g class=\"{unique_id}-matrix\">\n     {matrix}\n
"},{"location":"rich-diff/#consoleexport_svg-diff","title":"Console.export_svg Diff","text":"
--- \n+++ \n@@ -70,9 +70,9 @@\n        line_height = char_height * 1.22\n\n        margin_top = 1\n-        margin_right = 1\n-        margin_bottom = 1\n-        margin_left = 1\n+        margin_right = char_width * 5 / 6\n+        margin_bottom = 20 * 5 / 3\n+        margin_left = char_width * 5 / 6\n        padding_top = 40\n         padding_right = 8\n@@ -222,8 +222,8 @@\n                x=terminal_width // 2,\n                 y=margin_top + char_height + 6,\n             )\n-        chrome += f\"\"\"\n-            <g transform=\"translate(26,22)\">\n+        chrome += \"\"\"\n+            <g transform=\"translate(32,22)\">\n            <circle cx=\"0\" cy=\"0\" r=\"7\" fill=\"#ff5f57\"/>\n             <circle cx=\"22\" cy=\"0\" r=\"7\" fill=\"#febc2e\"/>\n             <circle cx=\"44\" cy=\"0\" r=\"7\" fill=\"#28c840\"/>\n

AUTO-GENERATED by scripts/rich-diff

"},{"location":"themes/","title":"Themes","text":""},{"location":"themes/#themes","title":"Themes","text":"

Available themes:

  • cat-mocha
  • cat-macchiato
  • cat-frappe
  • cat-latte
  • dracula
  • gruvbox-dark
  • gruvbox-light
  • nord
  • dimmed_monokai
  • monokai
  • night-owlish
  • rich-default
"},{"location":"themes/#cat-mocha","title":"cat-mocha","text":"

(back to top)

"},{"location":"themes/#cat-macchiato","title":"cat-macchiato","text":"

(back to top)

"},{"location":"themes/#cat-frappe","title":"cat-frappe","text":"

(back to top)

"},{"location":"themes/#cat-latte","title":"cat-latte","text":"

(back to top)

"},{"location":"themes/#dracula","title":"dracula","text":"

(back to top)

"},{"location":"themes/#gruvbox-dark","title":"gruvbox-dark","text":"

(back to top)

"},{"location":"themes/#gruvbox-light","title":"gruvbox-light","text":"

(back to top)

"},{"location":"themes/#nord","title":"nord","text":"

(back to top)

"},{"location":"themes/#dimmed_monokai","title":"dimmed_monokai","text":"

(back to top)

"},{"location":"themes/#monokai","title":"monokai","text":"

(back to top)

"},{"location":"themes/#night-owlish","title":"night-owlish","text":"

(back to top)

"},{"location":"themes/#rich-default","title":"rich-default","text":"

(back to top)

"}]} \ No newline at end of file +{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Yartsu","text":"

yartsu, another rich terminal screenshot utility

Documentation

NOTE: this is a currently in a beta release and the API is subject to change (feedback welcome)

Inspired by recent commits in the wonderful library rich I decided to write yartsu.

I needed to programmatically generate screenshots for documentation purposes. The new export_svg methods in rich were a godsend. So I wanted to try to make this feature a little more generalizable to program output outside of rich/python. Hopefully, you find it useful.

If you come across anything unexpected please submit an issue.

"},{"location":"#install","title":"Install","text":"
pipx install yartsu\n# OR\npip install yartsu\n
"},{"location":"#releases","title":"Releases","text":"

There is a standalone binary available for linux in the releases (Support for additional platforms is planned).

Optionally install with eget:

eget daylinmorgan/yartsu\n

Otherwise you can download an extract manually to somewhere on your path.

"},{"location":"#usage","title":"Usage","text":"

Getting a properly formatted output from a terminal screenshot is challenging.

There are three options for generating a screenshot.

If one of the below option causes you any headaches consider first trying a different option.

"},{"location":"#option-1-pipes","title":"Option 1: Pipes","text":"

Many tools that color output (i.e. grep or ls) additionally allow you to force ANSI color codes to be included even when piping output.

In these cases you can simply pipe the output directly into yartsu

ls --color=always | yartsu -w 50 -o assets/ls_color.svg\n
"},{"location":"#option-2-subprocesspty","title":"Option 2: Subprocess/Pty","text":"

With this option yartsu will deploy a subprocess and pty to run your command for you in an attempt to preserve ANSI.

Note with this option you need to separate the command you want to run with yartsu args using --.

yartsu -w 50 -o assets/ls_color.svg -- ls --color /\n
"},{"location":"#option-3-text-file","title":"Option 3: Text File","text":"

Finally, if you neither of the above options work and you can manage to preserve the codes in a plain text file you can pass this as input to yartsu.

ls --color > ls.txt\nyartsu -w 50 -i ls.txt -o assets/ls_color.svg\n

By default svgs will be saved at ./capture.svg.

Additionally, for options 1 and 3 you may want to define your own title with -t/--title. For option 2 the title will by default be the cmd ran by yartsu.

"},{"location":"#themes","title":"Themes","text":"

There are a number of themes you can use to style output. Use yartsu --list-themes to see the available options. Then you can specify the theme you want with --theme, i.e. yartsu --theme rich_default. You may also use the environment variable YARTSU_THEME.

See here a preview of the available themes

"},{"location":"#differences-from-rich","title":"Differences from Rich","text":"

For both practical and stylistic reasons the underlying code used to generate the SVG is slightly different than rich's default save_svg method. See here for the current deviation between the latest releases of each respective release.

"},{"location":"rich-diff/","title":"Deviation From Rich","text":""},{"location":"rich-diff/#versions","title":"Versions","text":"
  • Rich: 13.3.5
  • Yartsu: 23.5.1b2.dev27+g7598db8
"},{"location":"rich-diff/#console_svg_format-diff","title":"CONSOLE_SVG_FORMAT Diff","text":"
--- \n+++ \n@@ -1,5 +1,5 @@\n-<svg class=\"rich-terminal\" viewBox=\"0 0 {width} {height}\" xmlns=\"http://www.w3.org/2000/svg\">\n-    <!-- Generated with Rich https://www.textualize.io -->\n+<svg class=\"rich-terminal shadow\" viewBox=\"0 0 {width} {height}\" xmlns=\"http://www.w3.org/2000/svg\">\n+    <!-- Generated with Rich https://www.textualize.io & yartsu https://github.com/daylinmorgan/yartsu -->\n    <style>\n\n    @font-face {{\n@@ -32,6 +32,10 @@\n        font-family: arial;\n     }}\n\n+    .shadow {{\n+        -webkit-filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));\n+        filter: drop-shadow( 2px 5px 2px rgba(0, 0, 0, .7));\n+    }}\n    {styles}\n     </style>\n\n@@ -43,7 +47,7 @@\n    </defs>\n\n    {chrome}\n-    <g transform=\"translate({terminal_x}, {terminal_y})\" clip-path=\"url(#{unique_id}-clip-terminal)\">\n+    <g transform=\"translate({terminal_x}, {terminal_y}) scale(.95)\" clip-path=\"url(#{unique_id}-clip-terminal)\">\n    {backgrounds}\n     <g class=\"{unique_id}-matrix\">\n     {matrix}\n
"},{"location":"rich-diff/#consoleexport_svg-diff","title":"Console.export_svg Diff","text":"
--- \n+++ \n@@ -70,9 +70,9 @@\n        line_height = char_height * 1.22\n\n        margin_top = 1\n-        margin_right = 1\n-        margin_bottom = 1\n-        margin_left = 1\n+        margin_right = char_width * 5 / 6\n+        margin_bottom = 20 * 5 / 3\n+        margin_left = char_width * 5 / 6\n        padding_top = 40\n         padding_right = 8\n@@ -222,8 +222,8 @@\n                x=terminal_width // 2,\n                 y=margin_top + char_height + 6,\n             )\n-        chrome += f\"\"\"\n-            <g transform=\"translate(26,22)\">\n+        chrome += \"\"\"\n+            <g transform=\"translate(32,22)\">\n            <circle cx=\"0\" cy=\"0\" r=\"7\" fill=\"#ff5f57\"/>\n             <circle cx=\"22\" cy=\"0\" r=\"7\" fill=\"#febc2e\"/>\n             <circle cx=\"44\" cy=\"0\" r=\"7\" fill=\"#28c840\"/>\n

AUTO-GENERATED by scripts/rich-diff

"},{"location":"themes/","title":"Themes","text":"

See below for example outputs of each.

cat-mochacat-macchiatocat-frappecat-lattedraculagruvbox-darkgruvbox-lightnorddimmed_monokaimonokainight-owlishrich-default

"}]} \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz index 72eb4a0..fe85112 100644 Binary files a/sitemap.xml.gz and b/sitemap.xml.gz differ diff --git a/themes/cat-frappe.svg b/themes/cat-frappe.svg index 6cdc3ad..d414657 100644 --- a/themes/cat-frappe.svg +++ b/themes/cat-frappe.svg @@ -1,4 +1,4 @@ - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - yartsu --theme cat-frappe --demo + yartsu --theme cat-frappe --demo - - - - + + + +                                                      Rich features                                                       + +   Colors   ✓ 4-bit color +✓ 8-bit color +✓ Truecolor (16.7 million) +✓ Dumb terminals +✓ Automatic color conversion + +   Styles   All ansi styles: bolddimitalicunderlinestrikethroughreverse, and even blink.                    + +    Text    Word wrap text. Justify leftcenterright or full.                                                      + +Lorem ipsum dolor sit      Lorem ipsum dolor sit       Lorem ipsum dolor sitLoremipsumdolorsit +amet, consectetur            amet, consectetur             amet, consecteturamet,consectetur +adipiscing elit. Quisque adipiscing elit. Quisque   adipiscing elit. Quisqueadipiscingelit.Quisque +in metus sed sapien         in metus sed sapien          in metus sed sapieninmetussedsapien +ultricies pretium a at    ultricies pretium a at      ultricies pretium a atultriciespretiumaat +justo. Maecenas luctus    justo. Maecenas luctus      justo. Maecenas luctusjusto.Maecenasluctus +velit et auctor maximus. velit et auctor maximus.   velit et auctor maximus.velit et auctor maximus. + +   Asian    🇨🇳  该库支持中文,日文和韩文文本!                                                                        +  language  🇯🇵  ライブラリは中国語、日本語、韓国語のテキストをサポートしています                                      +  support   🇰🇷  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다                                          + +   Markup   Rich supports a simple bbcode-like markup for colorstyle, and emoji! 👍 🍎 🐜 🐻 🥖 🚌                  + +   Tables   DateTitleProduction BudgetBox Office +───────────────────────────────────────────────────────────────────────────────────────── +Dec 20, 2019Star Wars: The Rise of Skywalker        $275,000,000  $375,126,118 +May 25, 2018Solo: A Star Wars Story                 $275,000,000  $393,151,347 +Dec 15, 2017Star Wars Ep. VIII: The Last Jedi       $262,000,000$1,332,539,889 +May 19, 1999Star Wars Ep. IThe phantom Menace     $115,000,000$1,027,044,677 + +   Syntax    1 defiter_last(values:Iterable[T])->Iterable[{ +highlighting 2 │   """Iterate and generate a tuple with a flag│   'foo'[ +     &       3 │   iter_values=iter(values)│   │   3.1427, +   pretty    4 │   try:│   │   ( +  printing   5 │   │   previous_value=next(iter_values)│   │   │   'Paul Atreides', + 6 │   exceptStopIteration:│   │   │   'Vladimir Harkonnen', + 7 │   │   return│   │   │   'Thufir Hawat' + 8 │   forvalueiniter_values:│   │   ) + 9 │   │   yieldFalse,previous_value│   ], +10 │   │   previous_value=value│   'atomic'(FalseTrueNone) +11 │   yieldTrue,previous_value} + +  Markdown  # Markdown┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Markdown +Supports much of the *markdown* __syntax__!┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +- HeadersSupports much of the markdownsyntax! +- Basic formatting: **bold**, *italic*, `code` +- Block quotes • Headers +- Lists, and more... • Basic formatting: bolditaliccode + • Block quotes + • Lists, and more... + +   +more!   Progress bars, columns, styled logging handler, tracebacks, etc...                                        + diff --git a/themes/cat-latte.svg b/themes/cat-latte.svg index a4d3ef1..7015aa7 100644 --- a/themes/cat-latte.svg +++ b/themes/cat-latte.svg @@ -1,4 +1,4 @@ - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - yartsu --theme cat-latte --demo + yartsu --theme cat-latte --demo - - - - + + + +                                                      Rich features                                                       + +   Colors   ✓ 4-bit color +✓ 8-bit color +✓ Truecolor (16.7 million) +✓ Dumb terminals +✓ Automatic color conversion + +   Styles   All ansi styles: bolddimitalicunderlinestrikethroughreverse, and even blink.                    + +    Text    Word wrap text. Justify leftcenterright or full.                                                      + +Lorem ipsum dolor sit      Lorem ipsum dolor sit       Lorem ipsum dolor sitLoremipsumdolorsit +amet, consectetur            amet, consectetur             amet, consecteturamet,consectetur +adipiscing elit. Quisque adipiscing elit. Quisque   adipiscing elit. Quisqueadipiscingelit.Quisque +in metus sed sapien         in metus sed sapien          in metus sed sapieninmetussedsapien +ultricies pretium a at    ultricies pretium a at      ultricies pretium a atultriciespretiumaat +justo. Maecenas luctus    justo. Maecenas luctus      justo. Maecenas luctusjusto.Maecenasluctus +velit et auctor maximus. velit et auctor maximus.   velit et auctor maximus.velit et auctor maximus. + +   Asian    🇨🇳  该库支持中文,日文和韩文文本!                                                                        +  language  🇯🇵  ライブラリは中国語、日本語、韓国語のテキストをサポートしています                                      +  support   🇰🇷  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다                                          + +   Markup   Rich supports a simple bbcode-like markup for colorstyle, and emoji! 👍 🍎 🐜 🐻 🥖 🚌                  + +   Tables   DateTitleProduction BudgetBox Office +───────────────────────────────────────────────────────────────────────────────────────── +Dec 20, 2019Star Wars: The Rise of Skywalker        $275,000,000  $375,126,118 +May 25, 2018Solo: A Star Wars Story                 $275,000,000  $393,151,347 +Dec 15, 2017Star Wars Ep. VIII: The Last Jedi       $262,000,000$1,332,539,889 +May 19, 1999Star Wars Ep. IThe phantom Menace     $115,000,000$1,027,044,677 + +   Syntax    1 defiter_last(values:Iterable[T])->Iterable[{ +highlighting 2 │   """Iterate and generate a tuple with a flag│   'foo'[ +     &       3 │   iter_values=iter(values)│   │   3.1427, +   pretty    4 │   try:│   │   ( +  printing   5 │   │   previous_value=next(iter_values)│   │   │   'Paul Atreides', + 6 │   exceptStopIteration:│   │   │   'Vladimir Harkonnen', + 7 │   │   return│   │   │   'Thufir Hawat' + 8 │   forvalueiniter_values:│   │   ) + 9 │   │   yieldFalse,previous_value│   ], +10 │   │   previous_value=value│   'atomic'(FalseTrueNone) +11 │   yieldTrue,previous_value} + +  Markdown  # Markdown┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Markdown +Supports much of the *markdown* __syntax__!┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +- HeadersSupports much of the markdownsyntax! +- Basic formatting: **bold**, *italic*, `code` +- Block quotes • Headers +- Lists, and more... • Basic formatting: bolditaliccode + • Block quotes + • Lists, and more... + +   +more!   Progress bars, columns, styled logging handler, tracebacks, etc...                                        + diff --git a/themes/cat-macchiato.svg b/themes/cat-macchiato.svg index 56b672b..191864d 100644 --- a/themes/cat-macchiato.svg +++ b/themes/cat-macchiato.svg @@ -1,4 +1,4 @@ - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - yartsu --theme cat-macchiato --demo + yartsu --theme cat-macchiato --demo - - - - + + + +                                                      Rich features                                                       + +   Colors   ✓ 4-bit color +✓ 8-bit color +✓ Truecolor (16.7 million) +✓ Dumb terminals +✓ Automatic color conversion + +   Styles   All ansi styles: bolddimitalicunderlinestrikethroughreverse, and even blink.                    + +    Text    Word wrap text. Justify leftcenterright or full.                                                      + +Lorem ipsum dolor sit      Lorem ipsum dolor sit       Lorem ipsum dolor sitLoremipsumdolorsit +amet, consectetur            amet, consectetur             amet, consecteturamet,consectetur +adipiscing elit. Quisque adipiscing elit. Quisque   adipiscing elit. Quisqueadipiscingelit.Quisque +in metus sed sapien         in metus sed sapien          in metus sed sapieninmetussedsapien +ultricies pretium a at    ultricies pretium a at      ultricies pretium a atultriciespretiumaat +justo. Maecenas luctus    justo. Maecenas luctus      justo. Maecenas luctusjusto.Maecenasluctus +velit et auctor maximus. velit et auctor maximus.   velit et auctor maximus.velit et auctor maximus. + +   Asian    🇨🇳  该库支持中文,日文和韩文文本!                                                                        +  language  🇯🇵  ライブラリは中国語、日本語、韓国語のテキストをサポートしています                                      +  support   🇰🇷  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다                                          + +   Markup   Rich supports a simple bbcode-like markup for colorstyle, and emoji! 👍 🍎 🐜 🐻 🥖 🚌                  + +   Tables   DateTitleProduction BudgetBox Office +───────────────────────────────────────────────────────────────────────────────────────── +Dec 20, 2019Star Wars: The Rise of Skywalker        $275,000,000  $375,126,118 +May 25, 2018Solo: A Star Wars Story                 $275,000,000  $393,151,347 +Dec 15, 2017Star Wars Ep. VIII: The Last Jedi       $262,000,000$1,332,539,889 +May 19, 1999Star Wars Ep. IThe phantom Menace     $115,000,000$1,027,044,677 + +   Syntax    1 defiter_last(values:Iterable[T])->Iterable[{ +highlighting 2 │   """Iterate and generate a tuple with a flag│   'foo'[ +     &       3 │   iter_values=iter(values)│   │   3.1427, +   pretty    4 │   try:│   │   ( +  printing   5 │   │   previous_value=next(iter_values)│   │   │   'Paul Atreides', + 6 │   exceptStopIteration:│   │   │   'Vladimir Harkonnen', + 7 │   │   return│   │   │   'Thufir Hawat' + 8 │   forvalueiniter_values:│   │   ) + 9 │   │   yieldFalse,previous_value│   ], +10 │   │   previous_value=value│   'atomic'(FalseTrueNone) +11 │   yieldTrue,previous_value} + +  Markdown  # Markdown┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Markdown +Supports much of the *markdown* __syntax__!┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +- HeadersSupports much of the markdownsyntax! +- Basic formatting: **bold**, *italic*, `code` +- Block quotes • Headers +- Lists, and more... • Basic formatting: bolditaliccode + • Block quotes + • Lists, and more... + +   +more!   Progress bars, columns, styled logging handler, tracebacks, etc...                                        + diff --git a/themes/cat-mocha.svg b/themes/cat-mocha.svg index 889c4dd..a7ebbaf 100644 --- a/themes/cat-mocha.svg +++ b/themes/cat-mocha.svg @@ -1,4 +1,4 @@ - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - yartsu --theme cat-mocha --demo + yartsu --theme cat-mocha --demo - - - - + + + +                                                      Rich features                                                       + +   Colors   ✓ 4-bit color +✓ 8-bit color +✓ Truecolor (16.7 million) +✓ Dumb terminals +✓ Automatic color conversion + +   Styles   All ansi styles: bolddimitalicunderlinestrikethroughreverse, and even blink.                    + +    Text    Word wrap text. Justify leftcenterright or full.                                                      + +Lorem ipsum dolor sit      Lorem ipsum dolor sit       Lorem ipsum dolor sitLoremipsumdolorsit +amet, consectetur            amet, consectetur             amet, consecteturamet,consectetur +adipiscing elit. Quisque adipiscing elit. Quisque   adipiscing elit. Quisqueadipiscingelit.Quisque +in metus sed sapien         in metus sed sapien          in metus sed sapieninmetussedsapien +ultricies pretium a at    ultricies pretium a at      ultricies pretium a atultriciespretiumaat +justo. Maecenas luctus    justo. Maecenas luctus      justo. Maecenas luctusjusto.Maecenasluctus +velit et auctor maximus. velit et auctor maximus.   velit et auctor maximus.velit et auctor maximus. + +   Asian    🇨🇳  该库支持中文,日文和韩文文本!                                                                        +  language  🇯🇵  ライブラリは中国語、日本語、韓国語のテキストをサポートしています                                      +  support   🇰🇷  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다                                          + +   Markup   Rich supports a simple bbcode-like markup for colorstyle, and emoji! 👍 🍎 🐜 🐻 🥖 🚌                  + +   Tables   DateTitleProduction BudgetBox Office +───────────────────────────────────────────────────────────────────────────────────────── +Dec 20, 2019Star Wars: The Rise of Skywalker        $275,000,000  $375,126,118 +May 25, 2018Solo: A Star Wars Story                 $275,000,000  $393,151,347 +Dec 15, 2017Star Wars Ep. VIII: The Last Jedi       $262,000,000$1,332,539,889 +May 19, 1999Star Wars Ep. IThe phantom Menace     $115,000,000$1,027,044,677 + +   Syntax    1 defiter_last(values:Iterable[T])->Iterable[{ +highlighting 2 │   """Iterate and generate a tuple with a flag│   'foo'[ +     &       3 │   iter_values=iter(values)│   │   3.1427, +   pretty    4 │   try:│   │   ( +  printing   5 │   │   previous_value=next(iter_values)│   │   │   'Paul Atreides', + 6 │   exceptStopIteration:│   │   │   'Vladimir Harkonnen', + 7 │   │   return│   │   │   'Thufir Hawat' + 8 │   forvalueiniter_values:│   │   ) + 9 │   │   yieldFalse,previous_value│   ], +10 │   │   previous_value=value│   'atomic'(FalseTrueNone) +11 │   yieldTrue,previous_value} + +  Markdown  # Markdown┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Markdown +Supports much of the *markdown* __syntax__!┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +- HeadersSupports much of the markdownsyntax! +- Basic formatting: **bold**, *italic*, `code` +- Block quotes • Headers +- Lists, and more... • Basic formatting: bolditaliccode + • Block quotes + • Lists, and more... + +   +more!   Progress bars, columns, styled logging handler, tracebacks, etc...                                        + diff --git a/themes/dimmed_monokai.svg b/themes/dimmed_monokai.svg index 4919760..22f770a 100644 --- a/themes/dimmed_monokai.svg +++ b/themes/dimmed_monokai.svg @@ -1,4 +1,4 @@ - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - yartsu --theme dimmed_monokai --demo + yartsu --theme dimmed_monokai --demo - - - - + + + +                                                      Rich features                                                       + +   Colors   ✓ 4-bit color +✓ 8-bit color +✓ Truecolor (16.7 million) +✓ Dumb terminals +✓ Automatic color conversion + +   Styles   All ansi styles: bolddimitalicunderlinestrikethroughreverse, and even blink.                    + +    Text    Word wrap text. Justify leftcenterright or full.                                                      + +Lorem ipsum dolor sit      Lorem ipsum dolor sit       Lorem ipsum dolor sitLoremipsumdolorsit +amet, consectetur            amet, consectetur             amet, consecteturamet,consectetur +adipiscing elit. Quisque adipiscing elit. Quisque   adipiscing elit. Quisqueadipiscingelit.Quisque +in metus sed sapien         in metus sed sapien          in metus sed sapieninmetussedsapien +ultricies pretium a at    ultricies pretium a at      ultricies pretium a atultriciespretiumaat +justo. Maecenas luctus    justo. Maecenas luctus      justo. Maecenas luctusjusto.Maecenasluctus +velit et auctor maximus. velit et auctor maximus.   velit et auctor maximus.velit et auctor maximus. + +   Asian    🇨🇳  该库支持中文,日文和韩文文本!                                                                        +  language  🇯🇵  ライブラリは中国語、日本語、韓国語のテキストをサポートしています                                      +  support   🇰🇷  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다                                          + +   Markup   Rich supports a simple bbcode-like markup for colorstyle, and emoji! 👍 🍎 🐜 🐻 🥖 🚌                  + +   Tables   DateTitleProduction BudgetBox Office +───────────────────────────────────────────────────────────────────────────────────────── +Dec 20, 2019Star Wars: The Rise of Skywalker        $275,000,000  $375,126,118 +May 25, 2018Solo: A Star Wars Story                 $275,000,000  $393,151,347 +Dec 15, 2017Star Wars Ep. VIII: The Last Jedi       $262,000,000$1,332,539,889 +May 19, 1999Star Wars Ep. IThe phantom Menace     $115,000,000$1,027,044,677 + +   Syntax    1 defiter_last(values:Iterable[T])->Iterable[{ +highlighting 2 │   """Iterate and generate a tuple with a flag│   'foo'[ +     &       3 │   iter_values=iter(values)│   │   3.1427, +   pretty    4 │   try:│   │   ( +  printing   5 │   │   previous_value=next(iter_values)│   │   │   'Paul Atreides', + 6 │   exceptStopIteration:│   │   │   'Vladimir Harkonnen', + 7 │   │   return│   │   │   'Thufir Hawat' + 8 │   forvalueiniter_values:│   │   ) + 9 │   │   yieldFalse,previous_value│   ], +10 │   │   previous_value=value│   'atomic'(FalseTrueNone) +11 │   yieldTrue,previous_value} + +  Markdown  # Markdown┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Markdown +Supports much of the *markdown* __syntax__!┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +- HeadersSupports much of the markdownsyntax! +- Basic formatting: **bold**, *italic*, `code` +- Block quotes • Headers +- Lists, and more... • Basic formatting: bolditaliccode + • Block quotes + • Lists, and more... + +   +more!   Progress bars, columns, styled logging handler, tracebacks, etc...                                        + diff --git a/themes/dracula.svg b/themes/dracula.svg index 5db79c1..1ed8db3 100644 --- a/themes/dracula.svg +++ b/themes/dracula.svg @@ -1,4 +1,4 @@ - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - yartsu --theme dracula --demo + yartsu --theme dracula --demo - - - - + + + +                                                      Rich features                                                       + +   Colors   ✓ 4-bit color +✓ 8-bit color +✓ Truecolor (16.7 million) +✓ Dumb terminals +✓ Automatic color conversion + +   Styles   All ansi styles: bolddimitalicunderlinestrikethroughreverse, and even blink.                    + +    Text    Word wrap text. Justify leftcenterright or full.                                                      + +Lorem ipsum dolor sit      Lorem ipsum dolor sit       Lorem ipsum dolor sitLoremipsumdolorsit +amet, consectetur            amet, consectetur             amet, consecteturamet,consectetur +adipiscing elit. Quisque adipiscing elit. Quisque   adipiscing elit. Quisqueadipiscingelit.Quisque +in metus sed sapien         in metus sed sapien          in metus sed sapieninmetussedsapien +ultricies pretium a at    ultricies pretium a at      ultricies pretium a atultriciespretiumaat +justo. Maecenas luctus    justo. Maecenas luctus      justo. Maecenas luctusjusto.Maecenasluctus +velit et auctor maximus. velit et auctor maximus.   velit et auctor maximus.velit et auctor maximus. + +   Asian    🇨🇳  该库支持中文,日文和韩文文本!                                                                        +  language  🇯🇵  ライブラリは中国語、日本語、韓国語のテキストをサポートしています                                      +  support   🇰🇷  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다                                          + +   Markup   Rich supports a simple bbcode-like markup for colorstyle, and emoji! 👍 🍎 🐜 🐻 🥖 🚌                  + +   Tables   DateTitleProduction BudgetBox Office +───────────────────────────────────────────────────────────────────────────────────────── +Dec 20, 2019Star Wars: The Rise of Skywalker        $275,000,000  $375,126,118 +May 25, 2018Solo: A Star Wars Story                 $275,000,000  $393,151,347 +Dec 15, 2017Star Wars Ep. VIII: The Last Jedi       $262,000,000$1,332,539,889 +May 19, 1999Star Wars Ep. IThe phantom Menace     $115,000,000$1,027,044,677 + +   Syntax    1 defiter_last(values:Iterable[T])->Iterable[{ +highlighting 2 │   """Iterate and generate a tuple with a flag│   'foo'[ +     &       3 │   iter_values=iter(values)│   │   3.1427, +   pretty    4 │   try:│   │   ( +  printing   5 │   │   previous_value=next(iter_values)│   │   │   'Paul Atreides', + 6 │   exceptStopIteration:│   │   │   'Vladimir Harkonnen', + 7 │   │   return│   │   │   'Thufir Hawat' + 8 │   forvalueiniter_values:│   │   ) + 9 │   │   yieldFalse,previous_value│   ], +10 │   │   previous_value=value│   'atomic'(FalseTrueNone) +11 │   yieldTrue,previous_value} + +  Markdown  # Markdown┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Markdown +Supports much of the *markdown* __syntax__!┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +- HeadersSupports much of the markdownsyntax! +- Basic formatting: **bold**, *italic*, `code` +- Block quotes • Headers +- Lists, and more... • Basic formatting: bolditaliccode + • Block quotes + • Lists, and more... + +   +more!   Progress bars, columns, styled logging handler, tracebacks, etc...                                        + diff --git a/themes/gruvbox-dark.svg b/themes/gruvbox-dark.svg index 65c50ad..e2c3c7d 100644 --- a/themes/gruvbox-dark.svg +++ b/themes/gruvbox-dark.svg @@ -1,4 +1,4 @@ - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - yartsu --theme gruvbox-dark --demo + yartsu --theme gruvbox-dark --demo - - - - + + + +                                                      Rich features                                                       + +   Colors   ✓ 4-bit color +✓ 8-bit color +✓ Truecolor (16.7 million) +✓ Dumb terminals +✓ Automatic color conversion + +   Styles   All ansi styles: bolddimitalicunderlinestrikethroughreverse, and even blink.                    + +    Text    Word wrap text. Justify leftcenterright or full.                                                      + +Lorem ipsum dolor sit      Lorem ipsum dolor sit       Lorem ipsum dolor sitLoremipsumdolorsit +amet, consectetur            amet, consectetur             amet, consecteturamet,consectetur +adipiscing elit. Quisque adipiscing elit. Quisque   adipiscing elit. Quisqueadipiscingelit.Quisque +in metus sed sapien         in metus sed sapien          in metus sed sapieninmetussedsapien +ultricies pretium a at    ultricies pretium a at      ultricies pretium a atultriciespretiumaat +justo. Maecenas luctus    justo. Maecenas luctus      justo. Maecenas luctusjusto.Maecenasluctus +velit et auctor maximus. velit et auctor maximus.   velit et auctor maximus.velit et auctor maximus. + +   Asian    🇨🇳  该库支持中文,日文和韩文文本!                                                                        +  language  🇯🇵  ライブラリは中国語、日本語、韓国語のテキストをサポートしています                                      +  support   🇰🇷  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다                                          + +   Markup   Rich supports a simple bbcode-like markup for colorstyle, and emoji! 👍 🍎 🐜 🐻 🥖 🚌                  + +   Tables   DateTitleProduction BudgetBox Office +───────────────────────────────────────────────────────────────────────────────────────── +Dec 20, 2019Star Wars: The Rise of Skywalker        $275,000,000  $375,126,118 +May 25, 2018Solo: A Star Wars Story                 $275,000,000  $393,151,347 +Dec 15, 2017Star Wars Ep. VIII: The Last Jedi       $262,000,000$1,332,539,889 +May 19, 1999Star Wars Ep. IThe phantom Menace     $115,000,000$1,027,044,677 + +   Syntax    1 defiter_last(values:Iterable[T])->Iterable[{ +highlighting 2 │   """Iterate and generate a tuple with a flag│   'foo'[ +     &       3 │   iter_values=iter(values)│   │   3.1427, +   pretty    4 │   try:│   │   ( +  printing   5 │   │   previous_value=next(iter_values)│   │   │   'Paul Atreides', + 6 │   exceptStopIteration:│   │   │   'Vladimir Harkonnen', + 7 │   │   return│   │   │   'Thufir Hawat' + 8 │   forvalueiniter_values:│   │   ) + 9 │   │   yieldFalse,previous_value│   ], +10 │   │   previous_value=value│   'atomic'(FalseTrueNone) +11 │   yieldTrue,previous_value} + +  Markdown  # Markdown┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Markdown +Supports much of the *markdown* __syntax__!┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +- HeadersSupports much of the markdownsyntax! +- Basic formatting: **bold**, *italic*, `code` +- Block quotes • Headers +- Lists, and more... • Basic formatting: bolditaliccode + • Block quotes + • Lists, and more... + +   +more!   Progress bars, columns, styled logging handler, tracebacks, etc...                                        + diff --git a/themes/gruvbox-light.svg b/themes/gruvbox-light.svg index c39a12e..9a538fa 100644 --- a/themes/gruvbox-light.svg +++ b/themes/gruvbox-light.svg @@ -1,4 +1,4 @@ - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - yartsu --theme gruvbox-light --demo + yartsu --theme gruvbox-light --demo - - - - + + + +                                                      Rich features                                                       + +   Colors   ✓ 4-bit color +✓ 8-bit color +✓ Truecolor (16.7 million) +✓ Dumb terminals +✓ Automatic color conversion + +   Styles   All ansi styles: bolddimitalicunderlinestrikethroughreverse, and even blink.                    + +    Text    Word wrap text. Justify leftcenterright or full.                                                      + +Lorem ipsum dolor sit      Lorem ipsum dolor sit       Lorem ipsum dolor sitLoremipsumdolorsit +amet, consectetur            amet, consectetur             amet, consecteturamet,consectetur +adipiscing elit. Quisque adipiscing elit. Quisque   adipiscing elit. Quisqueadipiscingelit.Quisque +in metus sed sapien         in metus sed sapien          in metus sed sapieninmetussedsapien +ultricies pretium a at    ultricies pretium a at      ultricies pretium a atultriciespretiumaat +justo. Maecenas luctus    justo. Maecenas luctus      justo. Maecenas luctusjusto.Maecenasluctus +velit et auctor maximus. velit et auctor maximus.   velit et auctor maximus.velit et auctor maximus. + +   Asian    🇨🇳  该库支持中文,日文和韩文文本!                                                                        +  language  🇯🇵  ライブラリは中国語、日本語、韓国語のテキストをサポートしています                                      +  support   🇰🇷  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다                                          + +   Markup   Rich supports a simple bbcode-like markup for colorstyle, and emoji! 👍 🍎 🐜 🐻 🥖 🚌                  + +   Tables   DateTitleProduction BudgetBox Office +───────────────────────────────────────────────────────────────────────────────────────── +Dec 20, 2019Star Wars: The Rise of Skywalker        $275,000,000  $375,126,118 +May 25, 2018Solo: A Star Wars Story                 $275,000,000  $393,151,347 +Dec 15, 2017Star Wars Ep. VIII: The Last Jedi       $262,000,000$1,332,539,889 +May 19, 1999Star Wars Ep. IThe phantom Menace     $115,000,000$1,027,044,677 + +   Syntax    1 defiter_last(values:Iterable[T])->Iterable[{ +highlighting 2 │   """Iterate and generate a tuple with a flag│   'foo'[ +     &       3 │   iter_values=iter(values)│   │   3.1427, +   pretty    4 │   try:│   │   ( +  printing   5 │   │   previous_value=next(iter_values)│   │   │   'Paul Atreides', + 6 │   exceptStopIteration:│   │   │   'Vladimir Harkonnen', + 7 │   │   return│   │   │   'Thufir Hawat' + 8 │   forvalueiniter_values:│   │   ) + 9 │   │   yieldFalse,previous_value│   ], +10 │   │   previous_value=value│   'atomic'(FalseTrueNone) +11 │   yieldTrue,previous_value} + +  Markdown  # Markdown┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Markdown +Supports much of the *markdown* __syntax__!┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +- HeadersSupports much of the markdownsyntax! +- Basic formatting: **bold**, *italic*, `code` +- Block quotes • Headers +- Lists, and more... • Basic formatting: bolditaliccode + • Block quotes + • Lists, and more... + +   +more!   Progress bars, columns, styled logging handler, tracebacks, etc...                                        + diff --git a/themes/index.html b/themes/index.html index b8ec1e9..3d4cdea 100644 --- a/themes/index.html +++ b/themes/index.html @@ -281,118 +281,10 @@ - - - Themes - - - - @@ -417,98 +309,6 @@ - - -
@@ -525,60 +325,52 @@ -
-

Themes

-

Available themes:

- -

cat-mocha

+

+ +

+ +

See below for example outputs of each.

+
+
+

cat-mocha

-

(back to top)

-

cat-macchiato

+
+

cat-macchiato

-

(back to top)

-

cat-frappe

+
+

cat-frappe

-

(back to top)

-

cat-latte

+
+

cat-latte

-

(back to top)

-

dracula

+
+

dracula

-

(back to top)

-

gruvbox-dark

+
+

gruvbox-dark

-

(back to top)

-

gruvbox-light

+
+

gruvbox-light

-

(back to top)

-

nord

+
+

nord

-

(back to top)

-

dimmed_monokai

+
+

dimmed_monokai

-

(back to top)

-

monokai

+
+

monokai

-

(back to top)

-

night-owlish

+
+

night-owlish

-

(back to top)

-

rich-default

+
+ +
+

diff --git a/themes/monokai.svg b/themes/monokai.svg index 5b36b24..37faca7 100644 --- a/themes/monokai.svg +++ b/themes/monokai.svg @@ -1,4 +1,4 @@ - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - yartsu --theme monokai --demo + yartsu --theme monokai --demo - - - - + + + +                                                      Rich features                                                       + +   Colors   ✓ 4-bit color +✓ 8-bit color +✓ Truecolor (16.7 million) +✓ Dumb terminals +✓ Automatic color conversion + +   Styles   All ansi styles: bolddimitalicunderlinestrikethroughreverse, and even blink.                    + +    Text    Word wrap text. Justify leftcenterright or full.                                                      + +Lorem ipsum dolor sit      Lorem ipsum dolor sit       Lorem ipsum dolor sitLoremipsumdolorsit +amet, consectetur            amet, consectetur             amet, consecteturamet,consectetur +adipiscing elit. Quisque adipiscing elit. Quisque   adipiscing elit. Quisqueadipiscingelit.Quisque +in metus sed sapien         in metus sed sapien          in metus sed sapieninmetussedsapien +ultricies pretium a at    ultricies pretium a at      ultricies pretium a atultriciespretiumaat +justo. Maecenas luctus    justo. Maecenas luctus      justo. Maecenas luctusjusto.Maecenasluctus +velit et auctor maximus. velit et auctor maximus.   velit et auctor maximus.velit et auctor maximus. + +   Asian    🇨🇳  该库支持中文,日文和韩文文本!                                                                        +  language  🇯🇵  ライブラリは中国語、日本語、韓国語のテキストをサポートしています                                      +  support   🇰🇷  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다                                          + +   Markup   Rich supports a simple bbcode-like markup for colorstyle, and emoji! 👍 🍎 🐜 🐻 🥖 🚌                  + +   Tables   DateTitleProduction BudgetBox Office +───────────────────────────────────────────────────────────────────────────────────────── +Dec 20, 2019Star Wars: The Rise of Skywalker        $275,000,000  $375,126,118 +May 25, 2018Solo: A Star Wars Story                 $275,000,000  $393,151,347 +Dec 15, 2017Star Wars Ep. VIII: The Last Jedi       $262,000,000$1,332,539,889 +May 19, 1999Star Wars Ep. IThe phantom Menace     $115,000,000$1,027,044,677 + +   Syntax    1 defiter_last(values:Iterable[T])->Iterable[{ +highlighting 2 │   """Iterate and generate a tuple with a flag│   'foo'[ +     &       3 │   iter_values=iter(values)│   │   3.1427, +   pretty    4 │   try:│   │   ( +  printing   5 │   │   previous_value=next(iter_values)│   │   │   'Paul Atreides', + 6 │   exceptStopIteration:│   │   │   'Vladimir Harkonnen', + 7 │   │   return│   │   │   'Thufir Hawat' + 8 │   forvalueiniter_values:│   │   ) + 9 │   │   yieldFalse,previous_value│   ], +10 │   │   previous_value=value│   'atomic'(FalseTrueNone) +11 │   yieldTrue,previous_value} + +  Markdown  # Markdown┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Markdown +Supports much of the *markdown* __syntax__!┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +- HeadersSupports much of the markdownsyntax! +- Basic formatting: **bold**, *italic*, `code` +- Block quotes • Headers +- Lists, and more... • Basic formatting: bolditaliccode + • Block quotes + • Lists, and more... + +   +more!   Progress bars, columns, styled logging handler, tracebacks, etc...                                        + diff --git a/themes/night-owlish.svg b/themes/night-owlish.svg index 39e53fd..bff5853 100644 --- a/themes/night-owlish.svg +++ b/themes/night-owlish.svg @@ -1,4 +1,4 @@ - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - yartsu --theme night-owlish --demo + yartsu --theme night-owlish --demo - - - - + + + +                                                      Rich features                                                       + +   Colors   ✓ 4-bit color +✓ 8-bit color +✓ Truecolor (16.7 million) +✓ Dumb terminals +✓ Automatic color conversion + +   Styles   All ansi styles: bolddimitalicunderlinestrikethroughreverse, and even blink.                    + +    Text    Word wrap text. Justify leftcenterright or full.                                                      + +Lorem ipsum dolor sit      Lorem ipsum dolor sit       Lorem ipsum dolor sitLoremipsumdolorsit +amet, consectetur            amet, consectetur             amet, consecteturamet,consectetur +adipiscing elit. Quisque adipiscing elit. Quisque   adipiscing elit. Quisqueadipiscingelit.Quisque +in metus sed sapien         in metus sed sapien          in metus sed sapieninmetussedsapien +ultricies pretium a at    ultricies pretium a at      ultricies pretium a atultriciespretiumaat +justo. Maecenas luctus    justo. Maecenas luctus      justo. Maecenas luctusjusto.Maecenasluctus +velit et auctor maximus. velit et auctor maximus.   velit et auctor maximus.velit et auctor maximus. + +   Asian    🇨🇳  该库支持中文,日文和韩文文本!                                                                        +  language  🇯🇵  ライブラリは中国語、日本語、韓国語のテキストをサポートしています                                      +  support   🇰🇷  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다                                          + +   Markup   Rich supports a simple bbcode-like markup for colorstyle, and emoji! 👍 🍎 🐜 🐻 🥖 🚌                  + +   Tables   DateTitleProduction BudgetBox Office +───────────────────────────────────────────────────────────────────────────────────────── +Dec 20, 2019Star Wars: The Rise of Skywalker        $275,000,000  $375,126,118 +May 25, 2018Solo: A Star Wars Story                 $275,000,000  $393,151,347 +Dec 15, 2017Star Wars Ep. VIII: The Last Jedi       $262,000,000$1,332,539,889 +May 19, 1999Star Wars Ep. IThe phantom Menace     $115,000,000$1,027,044,677 + +   Syntax    1 defiter_last(values:Iterable[T])->Iterable[{ +highlighting 2 │   """Iterate and generate a tuple with a flag│   'foo'[ +     &       3 │   iter_values=iter(values)│   │   3.1427, +   pretty    4 │   try:│   │   ( +  printing   5 │   │   previous_value=next(iter_values)│   │   │   'Paul Atreides', + 6 │   exceptStopIteration:│   │   │   'Vladimir Harkonnen', + 7 │   │   return│   │   │   'Thufir Hawat' + 8 │   forvalueiniter_values:│   │   ) + 9 │   │   yieldFalse,previous_value│   ], +10 │   │   previous_value=value│   'atomic'(FalseTrueNone) +11 │   yieldTrue,previous_value} + +  Markdown  # Markdown┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Markdown +Supports much of the *markdown* __syntax__!┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +- HeadersSupports much of the markdownsyntax! +- Basic formatting: **bold**, *italic*, `code` +- Block quotes • Headers +- Lists, and more... • Basic formatting: bolditaliccode + • Block quotes + • Lists, and more... + +   +more!   Progress bars, columns, styled logging handler, tracebacks, etc...                                        + diff --git a/themes/nord.svg b/themes/nord.svg index 126433f..eee3e56 100644 --- a/themes/nord.svg +++ b/themes/nord.svg @@ -1,4 +1,4 @@ - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - yartsu --theme nord --demo + yartsu --theme nord --demo - - - - + + + +                                                      Rich features                                                       + +   Colors   ✓ 4-bit color +✓ 8-bit color +✓ Truecolor (16.7 million) +✓ Dumb terminals +✓ Automatic color conversion + +   Styles   All ansi styles: bolddimitalicunderlinestrikethroughreverse, and even blink.                    + +    Text    Word wrap text. Justify leftcenterright or full.                                                      + +Lorem ipsum dolor sit      Lorem ipsum dolor sit       Lorem ipsum dolor sitLoremipsumdolorsit +amet, consectetur            amet, consectetur             amet, consecteturamet,consectetur +adipiscing elit. Quisque adipiscing elit. Quisque   adipiscing elit. Quisqueadipiscingelit.Quisque +in metus sed sapien         in metus sed sapien          in metus sed sapieninmetussedsapien +ultricies pretium a at    ultricies pretium a at      ultricies pretium a atultriciespretiumaat +justo. Maecenas luctus    justo. Maecenas luctus      justo. Maecenas luctusjusto.Maecenasluctus +velit et auctor maximus. velit et auctor maximus.   velit et auctor maximus.velit et auctor maximus. + +   Asian    🇨🇳  该库支持中文,日文和韩文文本!                                                                        +  language  🇯🇵  ライブラリは中国語、日本語、韓国語のテキストをサポートしています                                      +  support   🇰🇷  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다                                          + +   Markup   Rich supports a simple bbcode-like markup for colorstyle, and emoji! 👍 🍎 🐜 🐻 🥖 🚌                  + +   Tables   DateTitleProduction BudgetBox Office +───────────────────────────────────────────────────────────────────────────────────────── +Dec 20, 2019Star Wars: The Rise of Skywalker        $275,000,000  $375,126,118 +May 25, 2018Solo: A Star Wars Story                 $275,000,000  $393,151,347 +Dec 15, 2017Star Wars Ep. VIII: The Last Jedi       $262,000,000$1,332,539,889 +May 19, 1999Star Wars Ep. IThe phantom Menace     $115,000,000$1,027,044,677 + +   Syntax    1 defiter_last(values:Iterable[T])->Iterable[{ +highlighting 2 │   """Iterate and generate a tuple with a flag│   'foo'[ +     &       3 │   iter_values=iter(values)│   │   3.1427, +   pretty    4 │   try:│   │   ( +  printing   5 │   │   previous_value=next(iter_values)│   │   │   'Paul Atreides', + 6 │   exceptStopIteration:│   │   │   'Vladimir Harkonnen', + 7 │   │   return│   │   │   'Thufir Hawat' + 8 │   forvalueiniter_values:│   │   ) + 9 │   │   yieldFalse,previous_value│   ], +10 │   │   previous_value=value│   'atomic'(FalseTrueNone) +11 │   yieldTrue,previous_value} + +  Markdown  # Markdown┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Markdown +Supports much of the *markdown* __syntax__!┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +- HeadersSupports much of the markdownsyntax! +- Basic formatting: **bold**, *italic*, `code` +- Block quotes • Headers +- Lists, and more... • Basic formatting: bolditaliccode + • Block quotes + • Lists, and more... + +   +more!   Progress bars, columns, styled logging handler, tracebacks, etc...                                        + diff --git a/themes/rich-default.svg b/themes/rich-default.svg index c35de6c..c8d33b9 100644 --- a/themes/rich-default.svg +++ b/themes/rich-default.svg @@ -1,4 +1,4 @@ - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - yartsu --theme rich-default --demo + yartsu --theme rich-default --demo - - - - + + + +                                                      Rich features                                                       + +   Colors   ✓ 4-bit color +✓ 8-bit color +✓ Truecolor (16.7 million) +✓ Dumb terminals +✓ Automatic color conversion + +   Styles   All ansi styles: bolddimitalicunderlinestrikethroughreverse, and even blink.                    + +    Text    Word wrap text. Justify leftcenterright or full.                                                      + +Lorem ipsum dolor sit      Lorem ipsum dolor sit       Lorem ipsum dolor sitLoremipsumdolorsit +amet, consectetur            amet, consectetur             amet, consecteturamet,consectetur +adipiscing elit. Quisque adipiscing elit. Quisque   adipiscing elit. Quisqueadipiscingelit.Quisque +in metus sed sapien         in metus sed sapien          in metus sed sapieninmetussedsapien +ultricies pretium a at    ultricies pretium a at      ultricies pretium a atultriciespretiumaat +justo. Maecenas luctus    justo. Maecenas luctus      justo. Maecenas luctusjusto.Maecenasluctus +velit et auctor maximus. velit et auctor maximus.   velit et auctor maximus.velit et auctor maximus. + +   Asian    🇨🇳  该库支持中文,日文和韩文文本!                                                                        +  language  🇯🇵  ライブラリは中国語、日本語、韓国語のテキストをサポートしています                                      +  support   🇰🇷  이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다                                          + +   Markup   Rich supports a simple bbcode-like markup for colorstyle, and emoji! 👍 🍎 🐜 🐻 🥖 🚌                  + +   Tables   DateTitleProduction BudgetBox Office +───────────────────────────────────────────────────────────────────────────────────────── +Dec 20, 2019Star Wars: The Rise of Skywalker        $275,000,000  $375,126,118 +May 25, 2018Solo: A Star Wars Story                 $275,000,000  $393,151,347 +Dec 15, 2017Star Wars Ep. VIII: The Last Jedi       $262,000,000$1,332,539,889 +May 19, 1999Star Wars Ep. IThe phantom Menace     $115,000,000$1,027,044,677 + +   Syntax    1 defiter_last(values:Iterable[T])->Iterable[{ +highlighting 2 │   """Iterate and generate a tuple with a flag│   'foo'[ +     &       3 │   iter_values=iter(values)│   │   3.1427, +   pretty    4 │   try:│   │   ( +  printing   5 │   │   previous_value=next(iter_values)│   │   │   'Paul Atreides', + 6 │   exceptStopIteration:│   │   │   'Vladimir Harkonnen', + 7 │   │   return│   │   │   'Thufir Hawat' + 8 │   forvalueiniter_values:│   │   ) + 9 │   │   yieldFalse,previous_value│   ], +10 │   │   previous_value=value│   'atomic'(FalseTrueNone) +11 │   yieldTrue,previous_value} + +  Markdown  # Markdown┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +Markdown +Supports much of the *markdown* __syntax__!┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + +- HeadersSupports much of the markdownsyntax! +- Basic formatting: **bold**, *italic*, `code` +- Block quotes • Headers +- Lists, and more... • Basic formatting: bolditaliccode + • Block quotes + • Lists, and more... + +   +more!   Progress bars, columns, styled logging handler, tracebacks, etc...                                        +