Skip to content

Conversation

@ethanpalm
Copy link
Collaborator

No description provided.


### Title
Add a title after the programming language to label your code example. Titles can be any string on a single line.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can add the You can specify a title... after the first example using the default example codeblock. Then frame it like: you can also....

Copy link
Collaborator Author

@ethanpalm ethanpalm Jun 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this section is mixing a couple ideas. I'm going to cut the after the programming language since that is explained with the first default example. Repeating it here is obscuring how to just add a title. Also making the options a bit more streamlined.

Going to keep both options here in case someone skips directly to this part of the page. They'll have all the info.

@ethanpalm ethanpalm merged commit f3f91bd into main Jun 12, 2025
4 checks passed
@ethanpalm ethanpalm deleted the codeblock-titles branch June 12, 2025 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants