Formatting article with html

Here are the guidelines for writing articles in the Mybee Box Help center. You'll find the main structure to follow and the style. You will also find blocks of code for specific formatting elements to boost the readability of your articles.

Article structure

Types of articles

Articles can be divided into two categories :

No scroll articles
These articles are short and fit on a single page on a 13' screen. They can be read in a glimpse of an eye.
They do not require Title structure
Scrollable articles
Scrollable articles are longer articles that will require the user to scroll down to read the whole article.
They require a Title structure
<!-- HTML for horizontal description list -->
<dl class="dl-horizontal">
<dt>No scroll articles</dt>
<dd>
These articles are short and fit on a single page on a 13' screen. They can
be read in a glimpse of an eye.
</dd>
<dd>They do not require Title structure</dd>
<dt>Scrollable articles</dt>
<dd>
The rest of the articles will require a title structure to organize the content.
In case of a very long article a bullet list of title with direct link must
be added.
</dd>
</dl>
<!-- HTML for danger text -->
<span class="text-danger">They do not require Title structure</span>

Manage long articles

In case of a very long article differents solution can be used to reduce the size :

An accordion

To hide part of the content that will be toggle by the user when need

<!-- HTML for accordion -->
<div class="accordion accordion--default">
<div class="accordion__item">
<div class="accordion__item-title">
<strong>Item title 1</strong>
</div>
<div class="accordion__item-content">
<p>Item 1</p>
</div>
</div>
<div class="accordion__item">
<div class="accordion__item-title">
<strong>Item title 2</strong>
</div>
<div class="accordion__item-content">
<p>Item 2</p>
</div>
</div>
</div>
Breakdown in a prev / next suite of articles

To reduce the content in shorter articles with easy navigation between them

  Précédent Suivant  
<!-- HTML for navigation between article -->
<table class="table">
<tbody>
<tr>
<td class="wysiwyg-text-align-left">
<a class="btn btn--primary" href="/hc/fr/articles/<ARTICLE ID>" target="_self">
<strong class="wysiwyg-font-size-medium">
<em class="fas fa-angle-left">&nbsp;</em> Précédent
</strong>
</a>
</td>
<td class="wysiwyg-text-align-right">
<a class="btn btn--primary" href="/hc/fr/articles/<ARTICLE ID>" target="_self">
<strong class="wysiwyg-font-size-medium">
Suivant <em class="fas fa-angle-right">&nbsp;</em>
</strong>
</a>
</td>
</tr>
</tbody>
</table>
A summary bullet list

To present the structure of the articles to the user and link to navigate in the content

<!-- HTML for ordered bullet list -->
<div class="callout callout--transparent">
<h4 class="callout__title">
<em class="fas fa-list-alt">&nbsp;</em> Summary
</h4>
<ol class="list-colored">
<li>
<a href="#h_cfe01e35-157a-468c-b37e-9849e20a4a10" target="_self">Article structure</a>
</li>
<li>
<a href="#h_210fc793-58f7-44b7-a277-2220e4bb8ff6" target="_self">Article content</a>
</li>
<li>
<a href="#h_7ef04195-6b52-43f6-9dff-d0dc6b8ad3bc" target="_self">Article elements</a>
</li>
</ol>
</div>

Article content

Style

Article must be addressed to our customer on a friendly ton ("tutoiement" in french) with a wording "from the street" (that can be understand by anybody). Specific terms related to Cashless can be used if they are defined in the Cashless glossary.

Readability

Article readability is the most important factor when it comes to user attention. If an article looks too long, too complex, too boring they will drop it and write an email to customer support. To improve readability you can use formatting elements but not in excess (this article is voluntarily presenting all possibilities and is an example).

  Attention

Formatting element must be added as HTML in your article. Be careful when you copy and past code as a single missing tag (this is a tag: <p>) can mess up your content. Do not hesitate to preview the article each time you add new code.

  Info

Screenshots are very useful to show or explained a "how to" but it has some drawbacks :

  • it extends a lot the length of an article
  • it must be updated
  • it can be misleading when not done correctly (with indication, etc.)

Have a look at the Screenshot section below to improve them.

<!-- HTML code for a warning callout -->
<div class="callout callout--warning">
<h4 class="callout__title">
<em class="fas fa-exclamation-circle">&nbsp;</em> Attention
</h4>
<p>The callout content</p>
</div>
<!-- HTML code for a info callout -->
<div class="callout callout--info">
<h4 class="callout__title">
<em class="fas fa-info-circle">&nbsp;</em> Info
</h4>
<p>The callout content</p>
</div>

Process

Content redaction Content formatting Article integration
You must start with the redaction of your article content. No formatting, no complexity. The content itself must be as simple as possible and organized to be easy to follow and understand. 
<!-- HTML code for tabs -->
<div class="tabs tabs--colored-1">
<div class="tabs-menu">
<span class="tabs-link is-active">Tab 1 Title</span>
<span class="tabs-link">Tab 2 Title</span>
<span class="tabs-link">Tab 3 Title</span>
</div>
<div class="tab">
<p>Tab 1 content</p>
</div>
<div class="tab is-hidden">
<p>Tab 2 content</p>
</div>
<div class="tab is-hidden">
<p>Tab 3 content</p>
</div>
</div>

Make it searchable

Your article needs to be found when the user searches for it. To improve searchability here are some points to follow :

A good title
Good title match the user request. It could be a question
Cover one topic
Your article must cover one topic to be relevant in user search results
Introduction keywords
Zendesk weight more heavily the first 75 words of an article than the rest. Use a ot of keywords in your introduction
<!-- HTML code for description list -->
<dl>
<dt>A good title</dt>
<dd>Good title match the user request. It could be a question</dd>
<dt>Cover one topic</dt>
<dd>
Your article must cover one topic to be relevant in user search results
</dd>
<dt>Introduction keywords</dt>
<dd>
Zendesk weight more heavily the first 75 words of an article than the rest.
Use a ot of keywords in your introduction
</dd>
</dl>

Article elements

Availability

The availability block must be added at the top of an article to indicates to users with which formula or license the feature is available.

  Disponible avec   Starter   Plus   Pro   Entreprise
  Disponible avec   Starter   Plus   Pro   Entreprise
  Disponible avec   Starter   Plus   Pro   Entreprise
  Disponible avec   Starter   Plus   Pro   Entreprise
<!-- HTML for availability block -->
<table class="table table-plan">
<tbody>
<tr>
<td>
<strong class="wysiwyg-font-size-medium"><em class="fas fa-tasks">&nbsp;</em> Disponible avec</strong>
</td>
<td class="wysiwyg-text-align-center">
<strong><em class="fas fa-check">&nbsp;</em> Starter</strong>
</td>
<td class="wysiwyg-text-align-center">
<strong><em class="fas fa-check">&nbsp;</em> Plus</strong>
</td>
<td class="wysiwyg-text-align-center">
<strong><em class="fas fa-check">&nbsp;</em> Pro</strong>
</td>
<td class="wysiwyg-text-align-center">
<strong><em class="fas fa-check">&nbsp;</em> Entreprise</strong>
</td>
</tr>
</tbody>
</table>

Quotas

  Limites / Quotas Starter Plus Pro Entreprise
  Commerçants 1 5 50 illimité
 Utilisateurs / mois 2 500 5 000 20 000 illimité
 Notifications / mois 100 1 000 5 000 10 000

 

<!-- HTML for quota -->
<table class="table table-plan">
<tbody>
<tr class="wysiwyg-font-size-medium">
<td>
<strong><em class="fas fa-tachometer-alt">&nbsp;</em> Limites / Quotas</strong>
</td>
<td class="wysiwyg-text-align-center">
<strong>Starter</strong>
</td>
<td class="wysiwyg-text-align-center">
<strong>Plus</strong>
</td>
<td class="wysiwyg-text-align-center">
<strong>Pro</strong>
</td>
<td class="wysiwyg-text-align-center">
<strong>Entreprise</strong>
</td>
</tr>
<tr>
<td class="wysiwyg-text-align-left">
<em class="fas fa-store-alt">&nbsp;</em> Commerçants
</td>
<td class="wysiwyg-text-align-center">1</td>
<td class="wysiwyg-text-align-center">5</td>
<td class="wysiwyg-text-align-center">50</td>
<td class="wysiwyg-text-align-center">illimité</td>
</tr>
<tr>
<td class="wysiwyg-text-align-left">
<em class="fas fa-users">&nbsp;</em>Utilisateurs / mois
</td>
<td class="wysiwyg-text-align-center">2 500</td>
<td class="wysiwyg-text-align-center">5 000</td>
<td class="wysiwyg-text-align-center">20 000</td>
<td class="wysiwyg-text-align-center">illimité</td>
</tr>
<tr>
<td class="wysiwyg-text-align-left">
<em class="fas fa-bullhorn">&nbsp;</em>Notifications / mois
</td>
<td class="wysiwyg-text-align-center">100</td>
<td class="wysiwyg-text-align-center">1 000</td>
<td class="wysiwyg-text-align-center">5 000</td>
<td class="wysiwyg-text-align-center">10 000</td>
</tr>
</tbody>
</table>

Menu navigation

The menu navigation block indicates a user where to find in the back office or application the describe features.

  Système Cashless >   Cashless.fr >   Paramètres

<!-- HTML for menu navigation block -->
<div class="callout">
<p class="callout__title">
<strong> <em class="fas fa-landmark">&nbsp;</em> Système Cashless &gt; <em class="fas fa-shopping-cart">&nbsp;</em> Cashless.fr &gt; <em class="fas fa-cog">&nbsp;</em> Paramètres</strong>
</p>
</div>

Screenshot

There are different styling for screenshot, you can find the details here. Below is an example of a screen shot in a light box

 

Screenshot in a light box

<!-- HTML for light box image -->
<p>
<a class="image-with-lightbox" href="/hc/article_attachments/15642586083356">
<img src="/hc/article_attachments/15642586083356" alt="Screenshot in a light box" width="400" />
</a>
</p>

Video

Vidéo can be embed in the article easily. You only need the video to be uploaded on youtube.

Code

<!-- HTML for video -->
<div class="embed">
<iframe src="https://www.youtube.com/embed/I3GcYXHlHzo?showinfo=0&amp;rel=0&amp;modestbranding=1" width="640" height="350" frameborder="0" allowfullscreen=""></iframe>
</div>

Miscellaneous

Icons

There are limitless possibilities of icons   with this theme, a details article can be found here and the available icons here.

<!-- HTML for icons -->
<em class="fas fa-icons">&nbsp;</em>

 

Logo des applications

SYNC POS TPE OTRA TPE

SYNC_512px.png

POS_512px.png

TPE_512px.png

OTRA_512px.png

PREO_512px.png

<!-- HTML for table -->
<table class="table table--color-header">
<thead>
<tr>
<th class="wysiwyg-text-align-center">SYNC</th>
<th class="wysiwyg-text-align-center">POS</th>
<th class="wysiwyg-text-align-center">TPE</th>
<th class="wysiwyg-text-align-center">OTRA</th>
<th class="wysiwyg-text-align-center">TPE</th>
</tr>
</thead>
<tbody>
<tr>
<td class="wysiwyg-text-align-center">
<p><img src="/hc/article_attachments/360004537460/SYNC_512px.png" alt="SYNC_512px.png" width="150" height="150"></p>
</td>
<td class="wysiwyg-text-align-center">
<p><img src="/hc/article_attachments/360004589139/POS_512px.png" alt="POS_512px.png" width="150" height="150"></p>
</td>
<td class="wysiwyg-text-align-center">
<p><img src="/hc/article_attachments/360004537420/TPE_512px.png" alt="TPE_512px.png" width="150" height="150"></p>
</td>
<td class="wysiwyg-text-align-center">
<p><img src="/hc/article_attachments/360004589119/OTRA_512px.png" alt="OTRA_512px.png" width="150" height="150"></p>
</td>
<td class="wysiwyg-text-align-center">
<p><img src="/hc/article_attachments/360004537440/PREO_512px.png" alt="PREO_512px.png" width="150" height="150"></p>
</td>
</tr>
</tbody>
</table>

Boutons

Click me   Start ! Let's Go  
<!-- HTML for classic button -->
<a class="btn btn--primary" href="/hc/fr/categories/<ARTICLE ID>" target="_blank" rel="noopener">
<span class="wysiwyg-font-size-large"> Click me </span>
</a>
<!-- HTML for prepend icon button -->
<a class="btn btn--primary" href="/hc/fr/categories/<ARTICLE ID>" target="_blank" rel="noopener">
<span class="wysiwyg-font-size-large"><em class="fas fa-rocket">&nbsp;</em> Start ! </span>
</a>
<!-- HTML for append icon button -->
<a class="btn btn--primary" href="/hc/fr/categories/<ARTICLE ID>" target="_blank" rel="noopener">
<span class="wysiwyg-font-size-large"> Let's Go <em class="fas fa-arrow-alt-circle-right">&nbsp;</em></span>
</a>

 

Callout

Callout can be use to get the attention of the user or to provide more information

  Congrats

The callout content

  Info

The callout content

  Attention

The callout content

  Danger

The callout content

<!-- HTML for callout -->
<div class="callout callout--success">
<h4 class="callout__title">
<em class="fas fa-thumbs-up">&nbsp;</em> Congrats
</h4>
<p>The callout content</p>
</div>
<div class="callout callout--info">
<h4 class="callout__title">
<em class="fas fa-info-circle">&nbsp;</em> Info
</h4>
<p>The callout content</p>
</div>
<div class="callout callout--warning">
<h4 class="callout__title">
<em class="fas fa-exclamation-circle">&nbsp;</em> Attention
</h4>
<p>The callout content</p>
</div>
<div class="callout callout--danger">
<h4 class="callout__title">
<em class="fas fa-exclamation-triangle">&nbsp;</em> Danger
</h4>
<p>The callout content</p>
</div>
Cet article vous a-t-il été utile ?
Utilisateurs qui ont trouvé cela utile : 0 sur 0
Vous avez d’autres questions ? Envoyer une demande