Logo
Edit Article

Shortcuts and tips
Ctrl-S (or Cmd-S): To save the article.
Ctrl-R (or Cmd-R): To add references to the text.
For more shortcuts click here.
For more information on the Markdown markup language, visit this Markdown Guide.

Note 1: You can insert an image from your media library into the body of the article with an expression like this: {{ img('image-id.jpg', a, {width: 725, height: 400, title: true, caption: true, style: 'float: right', version: 'small'}) }}. Remark: You can enter a string in the title/caption attribute if you want to use a text other than the one defined in the image record. For example: {{ img('image-id.jpg', {title: 'My tooltip'}, a) }}.

Note 2: You can use the declare function within the Twig code to change some template settings without having to change it for all the other articles. For example, {{ declare('timeline-label', 'Events', a) }} changes the label of the list of events displayed on the Analysis page, which now displays the text "Events" instead of "Timeline". To change the label of the "Key elements", type {{ declare('key-elements-label', 'New text', a) }}. For the "Related Analyses" label, type {{ declare('related-analyses-label', 'New text', a) }}.

Note 3: To insert a code snippet into the head of the article, use {{ declare("head-snippet", "<script>...</script>", a) }}. In the body, use {{ declare("body-snippet", "<script>...</script>", a) }}. You can insert these codes (from notes 2 and 3) anywhere in your text, as they will not be displayed on the page.
Article Details
Create One Create One






Add One