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

Atto Text Editor - Add Code Spans and Code blocks

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.3.3
    • Text editor Atto
    • None
    • MOODLE_403_STABLE

      As you may know Markdown, creating inline spans of code or blocks of code is a standard feature. It's among the most common Markdown features I use because it allows me to remove html-reformatting on certain text.

      For a minimal implementation, one button would be sufficient which turns selected text into code-font text:

      <code>*text*</code>
      

      Or without selected text, it could create a code block paragraph.

      Chemical and mathematical formulas seem to be supported, so should computer scientist language have at least minimal support.

      It should save users like me from common HTML editing just because of code pieces or names.

      In this proposal, it does not require language-specific syntax highlighting (which probably would also exist as library in the web).

      (Anyone, make another syntax highlighting issue if appropriate.)

            Unassigned Unassigned
            Elmar Christoph Ehm
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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