3

If I want to write this :

>>> calendar = GoogleCalendar(user='blabla', password='blablabla')
>>> calendar.myFunction()

After a list, the >>> become a blockquote ...

  • Here is the list

    calendar = GoogleCalendar(user='blabla', password='blablabla') calendar.myFunction()

Here is the bug ...

3 Answers 3

4

You just need to indent it eight (8) spaces:

  • Here is the list

    >>> calendar = GoogleCalendar(user='blabla', password='blablabla')
    >>> calendar.myFunction()
    

Which is just:

 - Here is the list

8 spaces>>> calendar = GoogleCalendar(user='blabla', password='blablabla')
8 spaces>>> calendar.myFunction()
1
  • And this is what happens when you have too many tabs open. Commented Dec 9, 2009 at 14:57
4

Alternately put a paragraph or a non-visible HTML element as a separator between them.

Method 1 - non-visible HTML separator

  • list item
i++;

Method 2 - paragraph text separator

  • list item

paragraph of text here

i++;
0

You have to indent your code by an additional 4 spaces for every level of list items.


  • list level one

    > code block
    
    • level two

      > code block
      
      • level three

        > code block
        
    • level two

      > code block
      

Reset

> code block

- list level one

        > code block
    - level two

            > code block
        - level three

                > code block
    - level two

            > code block

Reset

    > code block

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.