| In Contentful I will add code samples as a content model. | |
| So we'll have the code block and then we'll have the language we can choose from the most common ones: YAML, Python, JavaScript, Bash, maybe plain text, Markdown. | |
| It may be a little bit more cumbersome, but that would probably ensure very robust rendering if they're added as inline elements instead of having to rely on the kind of handling logic to do that. |