from lino.gendoc.maker import DocMaker
def body(doc):
doc.h1("Fifth Example")
doc.h2("Tables")
doc.example("""
The markup language of memo() supports tables using the same
markup syntax as HTML:
""","""
""")
doc.example("""
You can specify the name of a table style as the
class attribute of the
<table> tag:
""","""
""")
doc.example("""
You can omit closing tags if the parser can close them automatically.
This was valid HTML in the beginnings of the Internet, and modern
browsers still render it correctly:
""","""
""")
DocMaker().main(body)
Output:
pdf
html