Unordered, nested, list is not transformed correctly

torsknod
2017-02-27
2017-03-01
  • torsknod - 2017-02-27

    Hello,
    I have the following code in an enum declaration:

    // | Acknowledge Control Byte
    // Implemented according to:
    //
    // * SAE
    //     * J1939
    //         * -11
    //             * Figure 9 - Acknowledgment Parameter Group Number Definition
    //
    // .. note:: This data/ parameter type is used in the ACK parameter group.
    

    I have tried around with the indentation of the unordered list, but did not get a tree as a result. Sometimes the indentation in the output is there, but the bullets are missing. In other cases the lines are all or groupwise written in one with a * between the points.

    What am I doing wrong?

    Thanks in Advance
    Torsten Knodt

     
  • mkeller - 2017-03-01

    Hi Torsten.

    Every time you start a new sub level in your list you have to add an empty line before and after it. See Lists and Quote-like blocks from the reStructuredText Primer.

    // | Acknowledge Control Byte
    //
    // Implemented according to:
    //
    // * SAE
    //
    //     * J1939
    //
    //         * -11
    //
    //             * Figure 9 - Acknowledgment Parameter Group Number Definition
    //
    // .. note:: This data/ parameter type is used in the ACK parameter group.
    

    Here the screenshot:

    BR
    Martin

    IMG: Nested_List_reST.PNG

     

Log in to post a comment.