Open lucyleeow opened 5 days ago
You can change the default_role in sphinx doc config to 'literal' to allow single backticks to render as code. This makes it consistent between rst and markdown.
default_role
Here is a related conversation over in scikit-learn about single vs double backtick: https://github.com/scikit-learn/scikit-learn/issues/14665
Discussed with @tennlee at the pycon au sprint.
You can change the
default_role
in sphinx doc config to 'literal' to allow single backticks to render as code. This makes it consistent between rst and markdown.Here is a related conversation over in scikit-learn about single vs double backtick: https://github.com/scikit-learn/scikit-learn/issues/14665
Discussed with @tennlee at the pycon au sprint.