Code snippets in a forum post

How do I paste in code snippets into a forum post for people in the community to review?

<script>
Webflow.push(function() {
  $('.link').click(function(e) {
    e.preventDefault();
	$('body').css('overflow', 'hidden');
  });

  $('.link').click(function(e) {
    e.preventDefault();
	$('body').css('overflow', 'auto');
  });
});
</script>

Use the Preformatted text button in the toolbar

37%20PM

1 Like

How can I do this using the rich text format inside a blog when creating it with the CMS tools?
I am building a blog, some posts require code snippets as part of the text, and I can not find a way to do this.
There is no preformatted text button for code :frowning:

Any help is appreciated :slight_smile: