home ~ projects ~ socials

Inline CSS

Speaking of CSS, there's a `-- cssneo section to add styles directly from the content.

Source

-- p
-- class: neoexample

Open your book to the first page


-- css 

.neoexample {
  background-color: #422;
  border-radius: 1rem;
}

Output

Open your book to the first page

Each `-- cssneo section becomes a script tag just before the close of the head in the HTML.

-- end of line --