Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-80739

Improve cli renderer output, align with markdown, better tty support

    • Hide
      1. Download php MDL-80739-cli-markdown.php into the dir root
      2. Load this script in a browser to see all the examples demonstrating that these are loosely the same on the cli as they are on the web
      3. On the CLI run php MDL-80739-cli-markdown.php
      4. Confirm that the Heading 1 and Heading 2 styles are now consistent with the markdown alternate syntax: https://www.markdownguide.org/basic-syntax/#alternate-syntax
      5. Confirm that Heading 3 and Heading 4 use the original markdown format (with # per level)
      Show
      Download php MDL-80739 -cli-markdown.php into the dir root Load this script in a browser to see all the examples demonstrating that these are loosely the same on the cli as they are on the web On the CLI run php MDL-80739 -cli-markdown.php Confirm that the Heading 1 and Heading 2 styles are now consistent with the markdown alternate syntax: https://www.markdownguide.org/basic-syntax/#alternate-syntax Confirm that Heading 3 and Heading 4 use the original markdown format (with # per level)

      The cli renderer outputs things like headings with some arbitrary ascii art formatting which was as good as anything when Moodle first added this. Since then markdown has become the defacto format for so many similar things so proposing to tweak the format to align.

            brendanheywood Brendan Heywood
            brendanheywood Brendan Heywood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.