As the GitBook documentation does not include a syntax example in their docs, this page serves as a reference for the features, to get the syntax.
{% hint style="info" %} Info
This is a info section. {% endhint %}
{% hint style="success" %} Success {% endhint %}
{% hint style="warning" %} Warning {% endhint %}
{% hint style="danger" %} Danger {% endhint %}
{% file src=".gitbook/assets/gitbook.txt" %} Example file {% endfile %}