-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
bb8c0d3
commit 9f43ccc
Showing
8 changed files
with
1,391 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.