..... ---------------------------------------------------------------------- Ran 5 tests in 0.006s OK (8, 'h2', None, ['One ', 'link'], ['One ', 'link']) (12, 'h3', None, ['subheading ', '', 'backticks', ''], ['subheading ', 'backticks']) (14, 'h3', None, ['one ', '&', ' two'], ['one ', ' two']) (16, 'h2', 'explicit', ['Two'], ['Two']) [(6, '
In This Chapter
\n
\n
\n One link
\n subheading backticks
\n one & two
\n
\n
\n Two
\n
\n
\n'), (8, '\n'), (12, '\n'), (14, '\n'), (16, '\n')]

Title

Table of Contents
One
subheading backticks
Two & Three

One

hello h2.

subheading backticks

hello H3.

subsubheading

This kind of heading gets an h4. It's not in the TOC, but it can be linked to.

Two & Three

Title

Table of Contents
Intro
Part One: bash
Detail 1 with link
Detail 2
Conclusion

Intro

This is an h3 in the intro.

Part One: bash

Another h3.

Detail 1 with link

An h4.

Detail 2

Another h4.

Conclusion

Concluding h3.


def f():
  if 0:
    return False

if 0: return True