.. _Nng\Nnhelpers\ViewHelpers\Format\CodeViewHelper: ======================================= format.code ======================================= Description --------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Highlighted code sections via PrismJS. The code can be made available for direct ``download`` via ``download``. The file is generated dynamically via JS and streamed - no additional files are created on the server. nnhelpers uses this function to offer the boilerplates as a download. More information at: https://prismjs.com/ Build: https://bit.ly/3BLqmx0 .. code-block:: php ... Markup ... ... Markup ... | ``@return string``