Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Creating a user macro with excerpt macro inside

Michelle Fadelli June 30, 2021

I am creating a macro that standardises the design elements required in our Confluence instance. Those elements include a DivBox with an excerpt macro outside.

However, the excerpt macro is not working with the excerpt include macro now.

 <ac:layout-section ac:type="single">

    <ac:layout-cell>

      <p class="auto-cursor-target">

        <br/>

      </p>

      <ac:structured-macro ac:name="divbox" ac:schema-version="1">

        <ac:parameter ac:name="style">font-size:18px;font-weight-400</ac:parameter>

        <ac:rich-text-body>

          <p class="auto-cursor-target">

            <br/>

          </p>

          <ac:structured-macro ac:name="excerpt" ac:schema-version="1">

            <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>

            <ac:rich-text-body>

              <p>$body</p>

            </ac:rich-text-body>

          </ac:structured-macro>

          <p class="auto-cursor-target">

            <br/>

          </p>

        </ac:rich-text-body>

      </ac:structured-macro>

      <p class="auto-cursor-target">

        <br/>

      </p>

    </ac:layout-cell>

  </ac:layout-section>

# end

1 answer

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 9, 2021

@Michelle Fadelli 

Can you share some screenshots of what is not working?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events