Skip to content

Latest commit

 

History

History
162 lines (99 loc) · 4 KB

File metadata and controls

162 lines (99 loc) · 4 KB
Title My Title
Author Sbarex
Date Sunday, May 30, 2021
Abstract Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
output
pdf_document html_notebook
default
default

Extensions

Autolink extension

If the autolink extension is enabled the URL https://www.github.com is displayed as a link.

Emoji extension

Using the emoji extension you can replace the :smile: with 😄.

You can choose to use the standard emoji font or the GitHub images. Multibyte emoji are also supported, so :it: equivalent to the code \u1f1ee\u1f1f9 must be rendered as the Italian flag 🇮🇹.

GitHub mentions extension

With the mentions extension @sbarex is rendered as a link to the GitHub account.

Heads extension

With the heads extension for each heads is created an anchor named with the title, lowercased, and space replaced with a hypen sign. The anchors can be used for cross links.

If enabled the links inside the TOC section works.

Highlight extension

Words delimited with == tag are ==highlighted==.

Inline images extension

The inline image extension embed the local image inside the HTML output. Is required for view local images in the Quick Look preview.

image url: example.jpg

Colibrì

Images with a url do not require this extension.

image url: https://picsum.photos/300/200

Minion

Math extension

If enabled, the math extension allow to render the mathematical expressions:

  • inside a fenced blocks ```math ```:
$$\sqrt{x+2}$$
  • block expressions $$ code $$:

$$\sqrt{x+2}$$

  • or inline expressions $ code $:

To split $100 in half, we calculate $100/2$

Sub/Superscript extension

You can format subscritpt text with the ~ tag, and superspript with the ^ tag:

H2O

m^2^

Please note that the Strikethrough extension must be disabled or set to recognize the double tilde ~~.

Table extension

Option Description
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.

Strikethrough extension

You can choose to recognize the single tilde ~ on test or only the double tilde ~~ on another test.

Syntax Highlight extension

This fenced block uses the php syntax highlight:

phpinfo();
$a = [];
$a[] = "hello world";
function test(array $a, string $b, $c = null): boolean {
    return true;
}

Task list extension

  • step 1
  • step 2
  • step 3

Options

The smart quote option format the quote as "curly" 1.

Mermaid Diagram Test

graph TD
    A[Start] --> B{Decision}
    B -->|Yes| C[Do Something]
    B -->|No| D[Do Something Else]
    C --> E[End]
    D --> E
Loading

Footnotes

  1. If the option footnotes is enabled this text is rendered as a foot note.