home ~ projects ~ socials

Neopolitan P paragraphs Section

  • The -- p token is used to make sections of paragraphs
  • Each paragraph in the document is turned into an HTML <p> tag
  • Paragraphs are separated by empty lines
  • Paragraph text can wrap lines and will continue to apply to the same output paragraph until an empty line is hit
  • TODO: Attributes applied to the -- p section are applied to each paragraph individually

Basic Example

Neopolitan

-- p 

The dirt piles were lines along the 
road. The door was barred, locked, and 
bolted.

The doorknob was made of bright clean.
brass. The drip of the rain made a 
pleasant sound.

HTML

<p>The dirt piles were lines along the 
road. The door was barred, locked, and 
bolted.</p>

<p>The doorknob was made of bright clean.
brass. The drip of the rain made a 
pleasant sound.</p>

Output

The dirt piles were lines along the road. The door was barred, locked, and bolted.

The doorknob was made of bright clean. brass. The drip of the rain made a pleasant sound.

TODO

    Do basic output with multiple paragraphs

    Handle attributes

-- end of line --