Here’s my goal: a CMS blog that shows code examples with styling.
(My preferred style would look like “default” or “desert” on this page https://rawgit.com/google/code-prettify/master/styles/index.html )
I’m creating a blog that will have multiple dev authors, and I’m trying to come up with an easy solution for them to show their code examples in their tutorial blog posts.
Here’s my vague train of thought on how to do this:
1. created a text field in the dev blog CMS collection, (where the blog authors would put their code example)
2. then in the dev blog template I added an html block and referenced the CMS dev blog text field with the code example (...here’s where I get lost)
3. could I then use html/css styling in the html block and have it style the code example text?
If you have ideas for alternative ways to accomplish this, OR if you think I’m on the right track... any helpful hints would be appreciated! The more detailed the hints the more appreciated.
https://preview.webflow.com/preview/superlamegames?preview=90060eb8eaf36530a964353fa712b22f (all current content on the blog is FPO.)