All the popular tools (svg-term-cli, termtosvg, MrMarble/termsvg) convert asciinema recordings to SVG. You have to actually run the commands first. There is no tool that takes a static config and renders a fake terminal session as SVG, which is what you actually want for README demos: clean, controlled output without recording your real shell.