Example for include-code-files filter

With the include-code-files filter, you can include code snippets directly from a file using the include attribute.

for name in ["Sam", "Jake"]:
    print(f"Hello {name}!")

You can combine this with other quarto attributes like filename or code-line-numbers:

hello_world.py
for name in ["Sam", "Jake"]:
    print(f"Hello {name}!")