Sphinx uses pygments for code highlighting https://pygments.org/docs/lexerdevelopment/ (see also https://github.com/common-workflow-language/common-workflow-language/issues/784 )