Create an expandable text macro

XMLWordPrintable

      Confluence would benefit from an expandable text macro. At present, toggle-cloak offers a limited workaround such as

      {composition-setup} {toggle-cloak:id=unique1}

      What is your first question?

      {cloak:id=unique1}

      Here is an answer

      on a two lines

      {cloak} {toggle-cloak:id=unique2}

      What is your second question?

      {cloak:id=unique2}

      Here is an answer

      on two lines

      {cloak}

      However, this could be simplified into

      {expand} What is your first question?
      Here is an answer
      on two lines{expand} {expand} What is your second question?
      Here is an answer
      on two lines{expand}
      • Parameters -
        1. bold=true to switch formats from
        Question

        Answer


        to
        Question

        Answer

      This will address the following problems:

      • Toggle-cloak does not support multiple lines, so text must be blocked using escaped newlines
      • Less error prone than when juggling multiple ids
      • Macros can be supported

            Assignee:
            Unassigned
            Reporter:
            David Soul [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: