The solution is described in this thread:
https://github.com/expressive-code/expressive-code/issues/330