Experiment Section 4

SubSection A

SubSubSection

SubSubSubSection

Paragraph

SubSection B

SubSubSection

SubSubSubSection

Paragraph

Note

Above summarizes the different titles.

Rule: Every page with a section. No other sections on this page!

Replace titles

Search for title, in this case ------------.

^-+$

And replace by

~~~~~~~~~~~~~~~~~~~~~~~

Source code

See: https://github.com/pallets/flask/blob/main/docs/quickstart.rst

from flask import url_for
Blabla
<!doctype html>
<title>Hello from Flask</title>
{% if person %}
  <h1>Hello {{ person }}!</h1>
{% else %}
  <h1>Hello, World!</h1>
{% endif %}

Markup

Filename

The file has to be stored on the filesystem as static/style.css.

References external

For a reference to HTML, CSS, and other web APIs, use the MDN Web Docs.

References internal

This is an anchor

Link to above anchor. See This is an anchor.

Python Documentation

To render a template you can use the render_template()