Commit Graph

5 Commits

Author SHA1 Message Date
Will McGugan 1b1ac5fc81 box svg 2022-08-02 16:35:57 +01:00
Will McGugan 95db6abced made dim less dim 2022-05-03 10:32:13 +01:00
Will McGugan 5c268f363d simplify svg 2022-05-03 10:15:16 +01:00
Will McGugan 11f3122939 docs 2022-05-02 18:03:05 +01:00
Darren Burns 9f43cccfce
Exporting console content to SVG (#2101)
* Add skeleton export_svg and save_svg methods to Console

* Exporting SVG

* SVG export - Writing HTML foreign object into naively calculated SVG rect background

* Exporting as foreign object SVG

* Working with drop-shadow

* Update terminal output style to include tab and background/border

* Add more terminal themes, support dim, reverse in SVG output

* Fix some HTML export tests

* Allow for templating of SVG output

* Fix mypy issue involving shadowed variable in SVG export

* Remove unused code from main block in console.py

* Remove unused record=True in __main__.py Console init

* Small tidy ups in console.py SVG export

* Add test for exporting to SVG

* Add tests for export SVG and save SVG

* Update docs with info on SVG exports

* Add support for blink and blink2 to SVG export, use Fira Code webfont fallback

* Update tests for SVG exporting

* Add more information to docs about SVG exporting

* Update SVG exporting tests

* Explain how to use different terminal theme in SVG export docs

* Remove some development testing code

* Remove some more testing code

* Improve docs, fix typo

* Fixing a typo

* Add note to changelog about SVG export functionality

* Use CSS styling instead of inline styles on SVG export

* Fix issues noted in code review, fix reverse style

* Update SVG used in Rich docs
2022-03-29 17:34:14 +01:00