CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-mdutils

A comprehensive Python library for programmatically creating and manipulating Markdown files with support for headers, tables, lists, images, links, and text formatting.

80

1.90x
Overview
Eval results
Files

task.mdevals/scenario-7/

Documentation Navigator

Build a Python tool that generates a Markdown documentation file with internal navigation links that allow readers to jump to different sections.

Requirements

Your tool should:

  1. Create a Markdown file named project_docs.md
  2. Add a level 1 header titled "Project Documentation"
  3. Create a "Quick Links" section with a level 2 header
  4. In the Quick Links section, add clickable text links to the following three document sections:
    • A link with text "Go to Installation" that points to an "Installation" section
    • A link with text "Go to Usage" that points to a "Usage" section
    • A link with text "Go to FAQ" that points to an "FAQ" section
  5. Create the three target sections as level 2 headers: "Installation", "Usage", and "FAQ"
  6. Add placeholder text "Details coming soon." under each of the three sections

Test Cases

  • The generated file exists and contains "Project Documentation" as a level 1 header @test
  • The Quick Links section contains exactly 3 navigation links @test
  • Each navigation link correctly points to its corresponding section header (Installation, Usage, FAQ) @test
  • Each target section (Installation, Usage, FAQ) contains the placeholder text "Details coming soon." @test

Implementation

@generates

Dependencies { .dependencies }

mdutils { .dependency }

Provides Markdown file generation and formatting capabilities.

@satisfied-by

Install with Tessl CLI

npx tessl i tessl/pypi-mdutils

tile.json