Custom <pre><code> block

I’m looking to make a helper to add a few css classes to a

 block. In specific, using css, I’d like to make it look akin to a unix terminal with green text on a black background with slightly beveled edges.

Is there a way to do this other than using partial templates? Just curious as that seems a bit overkill. Thanks!

Just stick the content in a <div> in your markdown file, and target the div in css.

1 Like