Allow configuring number of lines in Code block macro

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Won't Do
    • None
    • Component/s: None
    • None
    • 1

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Problem Definition

      Using Code block will automatically use vertical scroll bar when the number of lines is long. In some cases, a user would need to display the whole code block instead of needing to scroll through the lines of code.

      Suggested Solution

      Allow user to configure the height of the code block so users can choose to show the whole code block directly in issue view or use the scroll bar instead.

      Example:

      { code:height=100px}
      Some code here{ code}

            Assignee:
            Unassigned
            Reporter:
            Nabil
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: