diff options
Diffstat (limited to 'sandbox/code-block-directive/docs/myfunction.py.txt')
-rw-r--r-- | sandbox/code-block-directive/docs/myfunction.py.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sandbox/code-block-directive/docs/myfunction.py.txt b/sandbox/code-block-directive/docs/myfunction.py.txt index cce27ea52..7d632a7d5 100644 --- a/sandbox/code-block-directive/docs/myfunction.py.txt +++ b/sandbox/code-block-directive/docs/myfunction.py.txt @@ -42,4 +42,10 @@ Another example: # and now for something completely different print 8/2 -The end. +Inline code :code:`$\alpha = \int_0^\infty f(x) dx$`. + +.. role:: python(code) + :language: python + :class: testclass + +Python code :python:`print("The end.")` |