Closed PierreMarchand20 closed 11 months ago
Hi,
Will look on this soon
Sorry for the delay, have a lot of tasks last time. It seems it is enough to enable the font-family in option_spec. Try 0.3.4, should work
Do I need to do something special to update it ? I just used pip3 install sphinxcontrib.asciinema --upgrade
, but my sphinx project does not seem able to set the option.
It does not work when I try to set it and here's autocompletion only showing font-size
:
make sure you have 0.3.4 pip3 list|grep sphinxcontrib.asciinema
Ok, so I think the issue is that the feature was added in asciinema-player
recently (https://github.com/asciinema/asciinema-player/pull/175) with v3.0, and the version shipped with your extension is <3.0.
I guess it should be fairly doable to update it, it was done here for a go/hugo module for example.
Looking at the documentation of the asciinema player : https://github.com/asciinema/asciinema-player#terminalfontfamily it should be possible to change
font-family
the same way we can changefont-size
. But it does not seem to work via this sphinx extension, and looking quickly at the source code, the optionfont-size
does appear here but notfont-family
. Would it be possible to add this option?