Skip to content

Libdoc: Change console output syntax to Markdown #5755

Closed

Description

@pekkaklarck

Libdoc has console output that allows usages like:

libdoc MyLibrary show

Currently the format how documentation is written is just plain text with some custom formatting like

MyLibrary
=========
Version:  0.1
Scope:    GLOBAL

Library's doc.

Example Keyword
---------------
Arguments:  [message: str]

Keyword's doc.

We should change the format to Markdown for the following reasons:

Activity

  1. added this to the v7.5 milestone on Aug 17, 2026
  2. pekkaklarck commented on Aug 17, 2026

    @pekkaklarck
    MemberAuthor

    Changing the output format is a backwards incompatible change, but I don't consider it severe enough to make the change impossible or that we should wait for a major release. The main reason is that this output is targeted for humans and, as long as we make sure we use clear Markdown formatting, they should be able to read the output as well as earlier. The console output isn't too widely used either, so the change isn't likely to affect many users in general.

    We also reserve the right to make changes to the console output in the future. If you need a stable, machine readable format, use Libdoc spec files instead.

  3. pekkaklarck commented on Aug 17, 2026

    @pekkaklarck
    MemberAuthor

    PR #5753 by @aaltat implements this. One test seems to fail due to the change, though.

  4. pekkaklarck commented on Aug 19, 2026

    @pekkaklarck
    MemberAuthor

    PR #5753 has been merged so the functionality is done and tested. I'll add a note to the User Guide about the format change, and the fact that the format nowadays is Markdown, and then we can consider this issue done.

  5. added
    acknowledge
    on Aug 19, 2026
  6. added a commit that references this issue on Aug 19, 2026
    dfcde23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions