Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Features

The Table from Source (with Rendering) macro is an advanced formatting macro for Confluence.

It has the following features:

  • Takes data from a macro source in table-adf format, such as a native Confluence table

  • Displays a table based on the source dat it receivees from a source macro or table

  • Filter/search field for quick access to data

  • Sort the table by clicking on the header cells

  • Wrap cell content, or not

  • Renders the following

    • LaTeX notation to mathematical & chemical equations - where the table header is named “LaTeX”

    • SMILES format to 2D chemical structures - where the table header is named “SMILES”

    • URLs and email addresses are hyperlinked

    • Links in markup language are hyperlinked e.g. [David Simpson Apps website](https://dsapps.dev) are rendered in HTML

  • Horizontal scrollbars for large content with shaded indicators to suggest you can scroll horizontally

  • Tables can be connected to Charts using the Manage connected data context menu item:

How to use

To use this macro, you neeed a source of data, such as a Confluence table.

In the Confluence editor, add a Confluence table and add some SMILES and/or LaTeX to the table cells.

Make sure to label your column headers with SMILES and LaTeX if you wish to use the rendering capabilities.

Your table should look something like this:

Name

SMILES

LaTeX

Phenol

C1=CC=C(C=C1)OC1=CC=C(C=C1)O

a^2 + b^2 = c^2

Aspirin

CC(=O)OC1=CC=CC=C1C(=O)O

\ce{A ->[{text above}][{text below}] B}

c=ccc=c-c(=O)O

\ce{Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-}

Tip: Copy the table above and paste it into the Confluence editor to get started. 

Click in a table cell and then click on the “Manage connected data“ icon:

In the macro properties panel, select “Add Target“ then ““:

Then select “Table from Source (with Rendering)”:

A new macro will appear below the existing table. CLick on the macro, then the “Edit” icon:

The macro properties panel will appear.

Add the width and height for any rendered SMILES structures, or leave for the default size.

Choose whether or not to wrap the cell content.

Save the Confluence page and the table will be rendered:

  • No labels