Skip to content

Style guide

This page shows an example of each magic module, with tips on when and how to use each one. It also includes instructions for using Markdown.

Markdown styles

Most text fields on the site support Markdown formatting syntax. See a complete markdown reference here. Examples for how these render are below–edit this page to see the syntax.

Heading styles

Heading styles let create hierarchy within a text module. Make a heading by adding a series of # at the beginning of a line. For example, to make a Heading 4, add “#### ” (with the space included) at the beginning of a line of text.

Here’s an example of each type of heading:

Heading 1 uses large type in green.

Heading 2 uses regular size type in green.

Headings 3, 4, 5, and 6 uses regular size type in white.


Text emphasis

Make text italic with asterisks – add * on either side of the italicized words.
You can also make text italic this way – by adding _ on either end of the italicized words.
extra bold text is made by using two asterisks, **.

Layout

End a line with two spaces
to make a line break

  • Create a bulleted list
  • by adding “- ” at the beginning
  • of each line of text
  1. Create a numbered list
  2. by adding a number– i.e. “1.”
  3. at the beginning of each line

Inline links

There’s a special syntax for including a link in a text field:
[link text](url goes here)
This text is a link to the homepage

When linking to another page on the d4bl.org site, the link URL should always start with / so it doesn’t include the domain name:

Yes: /about
No: about
No: https://amant.org/about
No: amant.org/about

Create a table using markdown like so:

Syntax Description
Header Title
Paragraph Text

Button Module

Use a button module to add a large link to the page. Remember, if you want to link to another page on the D4BL site, you can simply write the page path, starting with /, and omitting https://www.d4bl.org. Linking to an external site, you should include the full URL. For example:

CORRECT

INCORRECT

Carousel module

Add a carousel of images to the page.

Download module

Add one or more downloads to a section of the page.

Embed module

Add an iframe to any page. This could be used for Tableau embeds.

Grid Module

Add a grid of images and/or texts to the page. Enter up to eight items. The number of items affects how the module displays: two items will appear side by side; three items, in a row of three; four or more items, in a four-column grid.
Grid item title
1_CXy3O0OiAjkyGayLw046wg.png
Add an optional text to each slide.
1_0LlIhJxbhcm5QAZcNFpgxw.jpeg
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse lacinia mauris dapibus, tincidunt dui sit amet, rhoncus lorem. Sed tristique fermentum diam ut dapibus. Aliquam faucibus varius lacus, vel dapibus enim tempus vitae. Donec posuere tristique ante, eget hendrerit felis sodales non. Nullam euismod feugiat enim a mollis. Nullam et risus efficitur, semper dui quis, molestie metus. Duis vitae mauris id odio dapibus tristique. Sed a tellus eu tellus eleifend blandit auctor ut dui. Fusce condimentum id risus eleifend faucibus. Quisque sagittis ex eget turpis egestas iaculis.
1_XLvdwy8gCNgnPFMjxNCQzw.jpeg

Homepage carousel module

Add a carousel of events, conferences, videos, images, and/or texts to the homepage. Use this module ONLY on the homepage.

Image module

Add a single image to the page.
1_lBIrjVMuV0Lw0hChaxg9Mw.jpeg
Example caption

Page title module

Add a large title to a page. This is typically used on pages you create from scratch, since they appear automatically on project and user pages.

A large page title

Pull quote module

Add a carousel of pull quotes to the page. Each one can optionally be attributed to a person in the database.

Related module

Add a list of related projects to any page. Select a theme OR a project type to show the five most recent projects matching that filter. Or, you can add a new tab to manually select projects to display on the page.

Section title module

Add a title to a section of the page. This title appears like the title of a text module.
A section title

Staff module

Add a list of users to the page. Choose a user group to display all the users from a particular group.

Text module

Add some text to the page. Choose either large or regular size text. Accepts markdown.

This text module is regular size

This text module is large size, with no title.

Most modules can have an optional title, and can also be set to work as an accordion. You can also specify whether you want the accordion to be open or closed by default.

This text module has an accordion that is set to closed by default.

Video module

Add a video to a page. The video should first be entered as a video project into the database. Then it can be embedded on any page.