Skip to content

Document Markdown support for tests (#5603) - #5659

Merged
pekkaklarck merged 2 commits into
robotframework:masterfrom
seto:docs/markdown-tests-support
Apr 28, 2026
Merged

pekkaklarck merged 2 commits into
robotframework:masterfrom
seto:docs/markdown-tests-support

Conversation

@seto

@seto seto commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

This PR updates the documentation with the Markdown support on embedding tests/task.

Refers to #5603

Copilot AI review requested due to automatic review settings April 23, 2026 19:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Robot Framework User Guide to document support for executing embedded test/task data from Markdown files, aligning docs with the new Markdown parser behavior and file extension rules.

Changes:

  • Add “Markdown format” documentation alongside existing reStructuredText/JSON format docs, including examples and parsing rules.
  • Update execution configuration docs to mention .md/.markdown and .robot.md parsing behavior and related references.
  • Extend the registrations/links appendices with Markdown-related extensions and external references (Markdown, CommonMark).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
doc/userguide/src/RobotFrameworkUserGuide.rst Adds external link targets for Markdown and CommonMark used by the new documentation.
doc/userguide/src/ExecutingTestCases/ConfiguringExecution.rst Documents Markdown parsing behavior for single files, directories, and --parseinclude patterns.
doc/userguide/src/CreatingTestData/TestDataSyntax.rst Adds a new “Markdown format” section describing fenced-code-block embedding and default extension rules.
doc/userguide/src/CreatingTestData/ResourceAndVariableFiles.rst Documents using Markdown-formatted resource files with fenced robotframework/robot code blocks.
doc/userguide/src/Appendices/Registrations.rst Registers .robot.md for suites and .md/.markdown for resources in the appendix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pekkaklarck pekkaklarck left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! One note needs to be updated slightly, but I can do that myself.

__ `Selecting files to parse`_

.. note:: Parsing :file:`.robot.md` files automatically is new in
Robot Framework 7.5.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This note is a bit unclear. The whole Markdown support is new in RF 7.5, not only support for .robot.md files. There's probably a note like this with reST, but there we actually added the .robot.rst support relatively recently while the reST support itself is much older.

@pekkaklarck
pekkaklarck merged commit 823d34d into robotframework:master Apr 28, 2026
@seto
seto deleted the docs/markdown-tests-support branch August 29, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants