class: center, middle, inverse, title-slide # teaching rmarkdown ## using
xaringan slides ### Tano Michel Aka ### 02/08/2021 (updated: 2021-08-03) --- <style> .center2 { margin: 0; position: absolute; top: 75%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } </style> <!-- Intentionally left blank. --> --- class: middle right background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAV1BMVEV1qtv///9vp9pwqNr4+/1qpNm0z+p8rt3N3/GNuOGTu+LV5PPs8/qAsd7R4fLj7ffB1+7c6PWpyOeRuuK50uudweTq8fmixObC2O6vzOnz+PyGtN/e6vXlBsAiAAALFklEQVR4nOWd6bqjIAyGFaS1bl3tfv/XObhUQVFZEpcz3585zzMzLe8hQAgheP5flzfXFwXJ8RxnYfgMwyw+H5Ngri/GJnwfs9MlSimrRArVP9M0upyy4xu5BYiESbaL9qSAotRTidICl+yjXZbgNQOJ8HuKPM6mJuuRck4vup1xDBeB8Hi68p7RgxMxGTncjvDNASYMwtwzp2vE+zIPgbsSkvAdRg50bV9GoJBwhHGuO+6mIUkUg7ULiDDZEQaDV0MyugOaX0EIz9w6AfEqcWs9QzQOgDBMQbuvFWVpuALCE0Xiqxjpc2HCpwdvnrKI58joRIjPB8DoQHhO2Qx8hVjqsHhYE96viOOvK8qu97kJLzPyVYyXWQkzMscAlEVINhvhO5prAMpikc1u2YLwNLOBtqLMYlY1JgwW6sBK7Gq87TAlzAYiEnOJUtPRaEj4WLIDK7EHIuE7nX8K7YukRhOOCWEMtMN1FSUmLo4B4W55C/2J7TAIF51Du2IROGHwWcMQbEU+usuGJmHirWMItqKeZhxHj/C4kjlGFCV64WMtwvOahmArphWp0iGM1wnIEXVWDQ3CbK2AHFEjFjdNuGJAjjjtpU4SrtZEK00b6hThSieZVuzrRnhcOyBHnFg0xgmTdTkyapHxpX+UMNgv3Xot7UcduFHCz/o8GZXowZYw34KNFiK5HeFt/bPMT+xmQ7jyhVDWyLI4SPjei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9WTuhw/V3FtHqXLak/lnDNZNhIwCLSt/iBDjNHgBjdQvRUk8mV8jNWj/RieO1hH+E504Wgsa7XbOjJJS5vqE2HnX+Jqqyb7FZ5BkTdbVt34bYSWafhthC+9yjknjfYuNv1HSf5vsf3xnZh0OuJ303gr6D957+g/e7Nrsu2tPFcxfejtPZaN/6v1DxTw6TLjuJ+PVGnpIfugd0s2t+4r3yMYJ//5bsv/Be8Db2kfZvOn8H7zL/R+8rb6Z3XB/16tNGCDcU0BQNzJjQOgnW7BTMvTClA6hf1w/Yj9uYUSIX5vDVZN5PFOEa0ecTlSaJFy3Ez7kbhsRrhlRA1CHcL3+m1bugA4hdokVW8m1XZ0I17lokIllwojQT1Z3JkW98YXelNAPPuvqRvLRrQinS+j7iJXxzMXGdhO2hCj1RS0lP7cHRujHKzFUSkxe5jUh9N84RUYNRdLBmIwzIeTDy9ZiQ2FDGEI/I8suG5RoOGpOhP77umQ3ssjIQq0Ii5OppbqRqtJPEQgX60aLDrQkLEbj/JMqMR6BLoR+cJnZVCnrZ1mgEvr+/TAjI2WHoVtReITcxUnnGo4sNXFi4Ah9P/TmYGSeIodkJkLff6IzMk+ZfzAbIWfco1bn3DvyARDypeODNOdQ9rFbIKAJff8bMfj1kbBIK9I0JRBCvna8CGhHUkZ3mnGYKQERcsU5Adp3UEZyh+WhIzhC7uiE3Fqd74QzFvWe2HERJKFfQObUYUwS3nugeD44YaHj7cPM+5JyusNNL8hrJARCrnd8izymOy6Lx59odDsDd14tHMJSSbbL97zxHFRNWr39RPb5LQOaN1VCJCwV3OPnK0/5/FGqfh6hFE2H334CFDZhoyA5nuMsDJ9hmMXnY4IN1mg2wsX0D50hgheg8UB9AAAAAElFTkSuQmCC) background-position: 35% 50% # **Learning notes** ## rmarkdown --- class:midlle center background-image: url(https://images.unsplash.com/photo-1516383074327-ac4841225abf?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1050&q=80) background-size: 400px 300px background-position: 50% 83% ## What is **markdown**? Markdown is a <font color='red'>simplified</font> programming language. This language helps produce complex documents such as HTML script-based websites. Even if Markdown is a wide domain, one should not be afraid to start learning and using it. For this reason, we provide below, a list of basic syntaxes that can get you started! --- ## Basic syntaxes ### Paragraphs * Paragraphs can be mainly defined when the user inserts a blank line after one or more lines of text. * This way, the text that will come after the blank line will be in a new paragraph. -- * video <video> <source src="paragraphs_rmd_vid.mp4"> </video> --- class:midlle left background-image: url(https://images.unsplash.com/photo-1604596529732-7d0592f02b32?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=676&q=80) background-size: 417px 589px background-position: 95% 50% .pull-left[ ## Basic syntaxes ### Line breaks For line breaks, insert two or more spaces after the sentence and then type *enter*. ] --- ## Basic syntaxes ### Emphasis: italic or bold text .pull-left[ * Italic (2 types of syntaxes) * insert `*`before and after the word or group of words (example: `*Italic*` will give *Italic*) or * insert `_`before and after the word or group of words (example: `_Italic_` will give _Italic_) : Do not use this synthax within sentences ] .pull-right[ * Bold text (2 types of syntaxes) * insert `**`before and after the word or group of words (example: `**Italic**`will give **Italic**) or * insert `__`which is two times `_` before and after the word or group of words (example: `__Italic__` will give __Italic__: Do not use this synthax within sentences ] --- ## Basic syntaxes ### Headers (2 types of syntaxes) * Underline text with equal signs `=` or iphen signs `-` to generate respectively `h1` and `h2` headings * Put one to six hash marks before text to generate `h1` to `h2` headings --- ## Basic syntaxes ### Lists (2 types of syntaxes) * Unordered lists: use `*`, `+` or `-` before each element of the list * Order lists: use `1.` `2.` ... `n.` before elements 1, 2 ... n of the list --- ## Basic syntaxes ### Links (2 types of syntaxes) > `[text](link to related content)` or > `[text] [id]` > `(...)` > `[id]: link to related content` --- ## Basic syntaxes ### Images (2 types of syntaxes) > `` or > `![text] [id]` > `(...)` > `![id]: link to related content` --- ## Basic syntaxes ### Blockquotes * `blockquotes` can be used to introduce content from other sources. * To generate this structure, use the `>` symbol at the beginning of the line. For example, the code below: `> This is to show you how a blockquote looks like` _will generate_ > This is to show you how a blockquote looks like --- ## Frequently asked questions * How can one upload videos to xaringan? * Why do Rpubs publications not render faithfully colors? * Why do Rpubs publications not render faithfully pull.left (see slide 6 of rhis presentation). * How to use Apron’s Slide Layouts? .center2[ <!-- --> ]