home ~ projects ~ socials

Neopolitan -- html Section

Notes

  • Setup the `neoexampleattribute to work with `-- html
  • add `-- show, `-- show: above, etc... examples

Source

-- html/

<p>romeo victor hotel</p>

-- /html

Example HTML

<p>romeo victor hotel</p>

Showing The Code

Adding a `-- showneo shows the original source code as well as rendering it in the output

The functionality is designed to ensure that code samples are accurate because they are being used directly.

Source

-- html/
-- show

<ul>
  <li>alfa</li>
  <li>bravo</li>
  <li>charlie</li>
</ul>

-- /html

Live Example

This is the output from the snippet that set the pre tag border style for this page.

  • alfa
  • bravo
  • charlie
-- end of line --