Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add details macro (aka "Page Properties") #101

Open
osnard opened this issue Apr 15, 2024 · 0 comments
Open

Add details macro (aka "Page Properties") #101

osnard opened this issue Apr 15, 2024 · 0 comments

Comments

@osnard
Copy link
Member

osnard commented Apr 15, 2024

Example:

<ac:structured-macro ac:name="details" ac:schema-version="1" data-layout="default" ac:local-id="..." ac:macro-id="...">
  <ac:parameter ac:name="id">...</ac:parameter>
  <ac:rich-text-body>
    <table data-layout="default">
      <colgroup>
        <col style="width: 99.0px;"/>
        <col style="width: 627.0px;"/>
      </colgroup>
      <tbody>
        <tr>
          <td>
            <p>
              <strong>...</strong>
            </p>
          </td>
          <td>
            <p>
              <time datetime="2021-03-31"/>
            </p>
          </td>
        </tr>
        <tr>
          <td>
            <p>
              <strong>...</strong>
            </p>
          </td>
          <td>
            <p>...</p>
          </td>
        </tr>
        <tr>
          <td>
            <p>
              <strong>...</strong>
            </p>
          </td>
          <td>
            <p>...</p>
          </td>
        </tr>
        <tr>
          <td>
            <p>
              <strong>...</strong>
            </p>
          </td>
          <td>
            <ul>
              <li>
                <p>
                  <ac:link>
                    <ri:user ri:userkey="..."/>
                  </ac:link>
                </p>
              </li>
              <li>
                <p>
                  <ac:link>
                    <ri:user ri:userkey="..."/>
                  </ac:link>
                </p>
              </li>
              <li>
                <p>
                  <ac:link>
                    <ri:user ri:userkey="..."/>
                  </ac:link>
                </p>
              </li>
              <li>
                <p>
                  <ac:link>
                    <ri:user ri:userkey="..."/>
                  </ac:link>
                </p>
              </li>
              <li>
                <p><ac:link><ri:user ri:userkey="..."/></ac:link> </p>
              </li>
              <li>
                <p><ac:link><ri:user ri:userkey="..."/></ac:link> </p>
              </li>
              <li>
                <p>
                  <ac:link>
                    <ri:user ri:userkey="..."/>
                  </ac:link>
                </p>
              </li>
              <li>
                <p><ac:link><ri:user ri:userkey="..."/></ac:link> </p>
              </li>
              <li>
                <p><ac:link><ri:user ri:userkey="..."/></ac:link> </p>
              </li>
              <li>
                <p><ac:link><ri:user ri:userkey="..."/></ac:link> </p>
              </li>
              <li>
                <p><ac:link><ri:user ri:userkey="..."/></ac:link> </p>
              </li>
            </ul>
          </td>
        </tr>
      </tbody>
    </table>
  </ac:rich-text-body>
</ac:structured-macro>

Parameters: id, hidden

osnard pushed a commit that referenced this issue Dec 2, 2024
DvogelHallowelt pushed a commit that referenced this issue Dec 5, 2024
* Add processors for "details" and "detailsummary" macros

Fixes
- #101
- #103

* Register macros

* Add new templates to README

---------

Co-authored-by: Robert Vogel <[email protected]>
DvogelHallowelt pushed a commit that referenced this issue Dec 5, 2024
* Add processors for "details" and "detailsummary" macros

Fixes
- #101
- #103

* Register macros

* Add new templates to README

* Add processors for "attachments", "include" and "excerpt-inlcude"

* Add ExcerptInclude template

* Final implementation

---------

Co-authored-by: Robert Vogel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant