Hugos Shortcodes

Hugos Shortcodes

Bootstrap tables


Restart settings/Exit causes no always on-success on-failure on-abnormal on-abort on-watchdog
Clean exit code or signal X X
Unclean exit code X X
Unclean signal X X X X
Timeout X X X
Watchdog X X X X
Tag Name Purpose Sample
v Protocol version v=DMARC1
pct Percentage of messages subjected to filtering pct=20
ruf Reporting URI for forensic reports ruf=mailto:authfail@example.com
rua Reporting URI of aggregate reports rua=mailto:aggrep@example.com
p Policy for organizational domain p=quarantine
sp Policy for subdomains sp=reject
adkim Alignment mode for DKIM adkim=s/adkim=r
aspf Alignment mode for SPF aspf=r/aspf=s

Syntax highlight with title


{{% mojtitletohighliht title="/etc/nginx/sites-enabled/example.com.ssl" %}}
```nginx
server {

        listen   443;
        server_name example.org;
}
```
/etc/nginx/sites-enabled/example.com.ssl
server {

        listen   443;
        server_name example.org;
}
{{% mojtitletohighliht title="PHP" %}}
```php
<?php
phpinfo(INFO_VARIABLES);
?>
```
PHP
<?php
phpinfo(INFO_VARIABLES);
?>

Syntas highlight with title and icon image


{{% mojtitletohighliht icon-image="fas fa-file-alt" title="/etc/nginx/sites-enabled/example.com.ssl" %}}
```nginx
server {

        listen   443;
        server_name example.org;
}
```
/etc/nginx/sites-enabled/example.com.ssl
server {

        listen   443;
        server_name example.org;
}

MyStar style


{{% mojanote2 subclass="mystar" myheader="My Header" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My Header
My text in markdown with code example

{{% mojanote2 subclass="mystar" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My text in markdown with code example

MyInfo style


{{% mojanote2 subclass="myinfo" myheader="My Header" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My Header
My text in markdown with code example

{{% mojanote2 subclass="myinfo" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My text in markdown with code example

MyWarning style


{{% mojanote2 subclass="mywarning" myheader="My Header" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My Header
My text in markdown with code example

{{% mojanote2 subclass="mywarning" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My text in markdown with code example

MyUnreleased style


{{% mojanote2 subclass="myunreleased" myheader="My Header" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My Header
My text in markdown with code example

{{% mojanote2 subclass="myunreleased" %}}
My text in [markdown](https://cs.wikipedia.org/wiki/Markdown) with <code>code example</code>
{{% /mojanote2 %}}

My text in markdown with code example