Skip to main content

Lesson 1.3: Links, Includes and Export

Manual test: test internal links (#7/#8), external links, Markdown includes and content ordering.

Learning goals:

  • Implement a small, well-tested pure function.
  • Explain the arrange-act-assert pattern.

Use the FizzBuzz lesson and the test strategy lesson to test internal topic links.

An external link to Deno must open in a new browser window.

The include above must be visible in the HTML export and produce the same content in the reader/PDF route. In the source, its target remains clickable in VS Code and Docusaurus.

ScenarioExpected result
Internal .md linkCommon Cartridge resource link to the HTML resource
External https:// linkNew browser window
{@include: [label](path.md)}Included Markdown content