Neopolitan -- script/ Section
Source
Code
-- script/
console.log("delta tango")
-- /script
Example HTML
Code
<script>
console.log("delta tango")
</script>
Showing The Code
Adding a `-- show`neo` attribute outputs a visible code block with the script in it on the page in addition to adding it to the head of the document.
The functionality is designed to ensure that code samples are accurate because they are being used directly.
Source
Code
-- script/
-- show
console.log("sierra hotel")
-- /script
Live Example
This is the output from the snippet that set the pre tag border style for this page.