Python Only Example

Introduction

This document demonstrates the Sorting Hat extension. For an example, we’ve configured the extension to only show Python code blocks, e.g. keep: python. You can modify the YAML header to change which language(s) are displayed.

Code Examples

Python

print("Loading data...")
Loading data...

R

Bash

Plain Text

This is a regular code block without a language specification. It will always be shown:

No language specified here
This will always appear regardless of filters