Skip to content

Code block syntax in markdown does not render in html #65

Description

@gao-hongnan

In the tutorial, we can typeset code in markdown as such:

1+2+3

however, I'd like the original RTD syntax with additional code blocks such as linenos, which helps to point out the line number.

.. code-block:: python
    :linenos:

    a = 2
    b = 3

Are there any hacks to make this appear?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions