# file : tests/note/testscript # copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC # license : MIT; see accompanying LICENSE file test = $effect($cli.path) : block-basics : cat <=test.cli; " Leading paragraph. \N|This is a note block one.| Interleaving paragraph. \N|This is a note block two.| Trailing paragraph. " EOI $* --generate-html --stdout test.cli >>EOO

Leading paragraph.

This is a note block one.

Interleaving paragraph.

This is a note block two.

Trailing paragraph.

EOO : block-multi-para : cat <=test.cli; " \N| This is a note para one. This is a note para two. | " EOI $* --generate-html --stdout test.cli >>EOO

This is a note para one.

This is a note para two.

EOO : span-basics : cat <=test.cli; " This is normal text. \N{This is a note.} And this is normal text again. " EOI $* --generate-html --stdout test.cli >>EOO

This is normal text. This is a note. And this is normal text again.

EOO : span-nested-link : cat <=test.cli; " \N{This is a note with a \l{https://example.com link} inside.} " EOI $* --generate-html --stdout test.cli >>EOO

This is a note with a link inside.

EOO