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

Table improvements for Markdown

XMLWordPrintable

    • MOODLE_400_STABLE

      Tables and quotations placed in Markdown code are unreadable when rendered into HTML.

      Steps to reproduce:

      1. Set Boost or Classic theme.
      2. In user's "Preferences" change "Text editor" in "Editor preferences" to "Plain text area".
      3. In a course create "Page" resource in "Markdown format" with "Content" set to:

      Table example:
       
      | Plugin | Text |
      | ------ | -----: |
      | Dropbox | some very long text |
      | GitHub | sample text |
      | Google Drive | not this time |
       
      Blockquote example:
       
      > The overriding design goal for Markdown's
      > formatting syntax is to make it as readable
      > as possible. The idea is that a
      > Markdown-formatted document should be
      > publishable as-is, as plain text, without
      > looking like it's been marked up with tags
      > or formatting instructions.

      Expected behavior:

      1. Table:
        1. has some spacing between cells (now whole table is compressed and unreadable),
        2. has some margin below last row,
        3. respects column alignment setting in the header row.
      2. Blockquote has a visual distinction from plain text (see MDL-62938).

      Actual behavior:

      Table is compressed, has no margin below last row, does not respect column alignment setting in the header row; blockquote has not a visual distinction from plain text (see screenshot.png below).

        1. image-2023-01-26-18-18-33-717.png
          60 kB
          Ron Carl Alfon Yu
        2. screenshot.png
          5 kB
          Andrzej Wójtowicz

            Unassigned Unassigned
            andrewojtowicz Andrzej Wójtowicz
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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