This article is also available in
简体中文.
title: Icarus User Guide - Other Plugins date: 2017-01-31 categories: - Plugins - Other tags: - Icarus User Guide language: en toc: true plugins: animejs: true back_to_top: true cookie_consent: type: info theme: classic static: false position: bottom policyLink: 'https://www.cookiesandyou.com/' gallery: true google_analytics: tracking_id: UA-72437521-5 mathjax: true outdated_browser: true progressbar: true --- This article covers other plugins supported by Icarus 3.
## Gallery **Installation Guide** The gallery plugin of Icarus contains both [lightGallery](https://sachinchoolur.github.io/lightGallery/) and [Justified Gallery](https://miromannino.github.io/Justified-Gallery/) extensions. To enable it, set `plugins` > `gallery` to `true` in your theme configurations. {% codeblock _config.icarus.yml lang:yaml %} plugins: gallery: true {% endcodeblock %} Additionally, in order to use Justified Gallery, wrap your images with the `\\`
in this case.
{% codeblock AsciiMath-Example.md lang:markdown >folded %}
When \`a != 0\`, there are two solutions to \`ax^2 + bx + c = 0\` and they are \`x = (-b +- sqrt(b^2-4ac))/(2a)\`.
{% endcodeblock %} Sometimes your latex syntax will be mistaken as Markdown syntax, which will result in rendering error. Please refer to the [KaTeX](#KaTeX) section for solutions to this. **Preview(\\(\TeX\\) & \\(\LaTeX\\))** This is an inline expression: \\(ax^2+bx+c=0\\). This is another inline expression: $ax^2+bx+c>0$. This is a block expression: $$\displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }$$ This is another block expression: \\[f(x) = \int_{-\infty}^\infty\hat f(\xi)e^{2 \pi i \xi x}d\xi\\] Or use \\(\LaTeX\\) environment: \\begin{equation} A = \\begin{bmatrix} a & b \\\\ c & c \\end{bmatrix} \\end{equation} **Preview(MathML)** When , there are two solutions to and they are **Preview(AsciiMath)** When \`a != 0\`, there are two solutions to \`ax^2 + bx + c = 0\` and they are\`x = (-b +- sqrt(b^2-4ac))/(2a)\`.
## Cookie Consent **Installation Guide** You can show a cookie consent dialog to your visitor by enabling the Cookie Consent plugin. Please refer to [Download Cookie Consent](https://www.osano.com/cookieconsent/download/) and [Documentation for the Cookie Consent plugin](https://www.osano.com/cookieconsent/documentation/about-cookie-consent/) for details on each configuration setting. You can also disable the cookie consent dialog by commenting out the configurations. {% codeblock _config.icarus.yml lang:yaml %} plugins: cookie_consent: # The compliance type. Can be "info", "opt-in", or "opt-out" type: info # Theme of the popup. Can be "block", "edgeless", or "classic" theme: edgeless # Whether the popup should stay static regardless of the page scrolls static: false # Where on the screen the consent popup should display position: bottom-left # URL to your site's cookie policy policyLink: 'https://www.cookiesandyou.com/' {% endcodeblock %} ## Outdated Browser **Installation Guide** You can use the Outdated Browser plugin to detect outdated browsers used by your site's visitors and remind them to upgrade their browsers. To enable it, please set `plugins` > `outdated_browser` to `true` in your theme configurations. Click [here](https://bestvpn.org/outdatedbrowser/en) to see a live preview of this plugin. {% codeblock _config.icarus.yml lang:yaml %} plugins: outdated_browser: true {% endcodeblock %} ## Page Loading Animations **Installation Guide** Page Loading Animations are enabled by Icarus by default. To disable it, please set `plugins` > `animejs` to `false` in your theme configurations. {% codeblock _config.icarus.yml lang:yaml %} plugins: animejs: false {% endcodeblock %} Also, to disable the page loading progressbar, please set `plugins` > `progressbar` to `false` in your theme configurations. {% codeblock _config.icarus.yml lang:yaml %} plugins: progressbar: false {% endcodeblock %}