> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## Hide line numbers in code blocks

components

The `<CodeBlock>` component now supports a `showLineNumbers` prop that allows you to hide line numbers in the gutter. This is useful for short code snippets, command examples, or single-function demonstrations where line numbers add unnecessary visual noise.

```python showLineNumbers={false}
def get_plant(plant_id):
    return plants.get(plant_id)
```

Read the docs