Any code block that we want Prism to format, we mark as `CODE` with a special string on the first line, like this:
-- CODE language-js --
/**
* This pen allows you to use all your favourite console functions right in
* CodePen: `console.log`, `console.info`, `console.warn`, `console.error`,
* and `console.clear` are supported.
*
* To scroll the console to the bottom as messages are printed use the
* `console.follow` function.
*
* Fork this pen to quickly create a new pen which is pre-configured for
* JavaScript console output.
*
* If you want to learn how this works then take a look at:
*
* https://codepen.io/nullobject/pen/cngzI
*
* Made with love by @nullobject (http://joshbassett.info), 2014.
*/
Whatever
-- CODE language-js --
// Log an object.
console.log({a: 'foo', b: 'bar'});
// Log some extra information.
console.info('Many messages, such logging, wow!');
// Log a warning.
console.warn('Warning, warning!');
// Log an error.
console.error('Oh noes, y u do dis?');asd
-- CODE language-markup --
Heading level 1
===============
## Heading lvl 2
dunno
WTF
adasds