### Obsidian Charts Example for Slides Extended
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax/charts
Demonstrates the syntax for creating a bar chart using the Obsidian Charts plugin within Slides Extended. This requires the Obsidian Charts plugin to be installed and configured.
```markdown
```chart
type: bar
labels: [Monday,Tuesday,Wednesday,Thursday,Friday, Saturday, Sunday, "next Week", "next Month"]
series:
- title: Title 1
data: [1,2,3,4,5,6,7,8,9]
- title: Title 2
data: [5,4,3,2,1,0,-1,-2,-3]
```
```
--------------------------------
### Charts Support Markdown Example (Obsidian Charts)
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax
Provides an example of using the Obsidian Charts plugin syntax within Markdown to create bar charts for presentations. It specifies chart type, labels, and series data.
```markdown
```chart
type: bar
labels: [Monday,Tuesday,Wednesday,Thursday,Friday, Saturday, Sunday, "next Week", "next Month"]
series:
- title: Title 1
data: [1,2,3,4,5,6,7,8,9]
- title: Title 2
data: [5,4,3,2,1,0,-1,-2,-3]
```
```
--------------------------------
### Charts Support HTML Example (Reveal.js Charts)
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax
Demonstrates how to embed charts using Reveal.js Charts plugin syntax within an HTML canvas element. This example shows a line chart configuration.
```html
```
--------------------------------
### Obsidian Note and Slide Markdown Examples
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/basic-syntax/embeds
Demonstrates how to create notes and slides using Obsidian's Markdown syntax. The 'Obsidian.md' file contains basic note content and a link, while 'Slide.md' shows how to embed content from other notes using `![[NoteName]]` and `![[NoteName#Heading]]`.
```markdown
# Notes about Obsidian
A knowledge base that works on local Markdown files
# Link
Link to Obsidian Homepage: http://obsidian.md
```
```markdown
![[Obsidian]]
---
![[Obsidian#Link]]
```
--------------------------------
### Markdown Blockquote Example
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/basic-syntax/blockquotes
This snippet demonstrates the standard Markdown syntax for creating a blockquote, which is used to visually set apart quoted text. It includes a citation.
```markdown
> Human beings face ever more complex and urgent problems, and their effectiveness in dealing with these problems is a matter that is critical to the stability and continued progress of society.
\- Doug Engelbart, 1961
```
--------------------------------
### Excalidraw Support Markdown Example
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax
Shows how to embed Excalidraw diagrams into Obsidian Slides using Markdown. It supports embedding SVG or PNG files with specified dimensions.
```markdown
#### Excalidraw support
![[Sample.excalidraw|100]]
![[Sample.excalidraw]]
```
--------------------------------
### Slide Animation Markdown Example
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax
Illustrates how to enable automatic animation between adjacent slides in Obsidian Slides by adding the `data-auto-animate` attribute to slide annotations.
```markdown
# Title
---
# Title
##### **Subtitle**
###### *Author - 2022*
```
--------------------------------
### Mermaid Gitgraph Diagram Example
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/basic-syntax/mermaid
This snippet shows how to include a Gitgraph diagram using Mermaid syntax in Obsidian Slides. It illustrates basic Git operations like commits, branches, and merges.
```markdown
---
theme: beige
highlightTheme: css/vs2015.css
---
## Gitgraph Diagrams support
```mermaid
gitGraph
commit
commit
branch develop
checkout develop
commit
commit
checkout main
merge develop
commit
commit
```
```
--------------------------------
### Split Component Examples - Obsidian Slides Extended
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/layout
Demonstrates the usage of the `` component for arranging content in rows and columns. Supports attributes like 'even' for equal distribution, 'gap' for spacing, 'left'/'right' for proportional sizing, and 'wrap' to control row breaks. The 'no-margin' attribute removes automatic gaps.
```html



```
```html
**Lorem Ipsum** is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap
into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem
```
```html
**Lorem Ipsum** is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap
into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem
```
```html






```
```html








```
--------------------------------
### Specify Custom Highlight Theme Path in Frontmatter
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/themes
This example shows how to reference a custom CSS highlight theme file from your configured theme directory. The 'highlightTheme' property in the frontmatter points to the relative path of your custom highlight theme.
```markdown
---
highlightTheme: css/github.css
---
```
--------------------------------
### Display and Inline Math Rendering in Obsidian Slides Extended
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/basic-syntax/math
This snippet shows how to use LaTeX syntax for mathematical expressions in Obsidian Slides Extended. It includes an example of a display-style matrix equation and an inline mathematical expression. Ensure your environment supports MathJax or a similar rendering engine for these to display correctly.
```markdown
```
$$\begin{vmatrix}a & b\\
c & d
\end{vmatrix}=ad-bc$$
You can also do inline math like $s^{-2}_{n}\sum_{i=1}^{n}$
```
```
--------------------------------
### Mermaid Sequence Diagram Example
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/basic-syntax/mermaid
This snippet demonstrates how to embed a Mermaid sequence diagram within an Obsidian Slide. It requires the Mermaid syntax to be correctly formatted within a code block.
```markdown
---
theme: beige
highlightTheme: css/vs2015.css
---
```mermaid
sequenceDiagram
Alice->>+John: Hello John, how are you?
Alice->>+John: John, can you hear me?
John-->>-Alice: Hi Alice, I can hear you!
John-->>-Alice: I feel great!
```
```
--------------------------------
### Style Font Awesome Icons in Obsidian Slides
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax/fontAwesome
Provides examples of using HTML and custom shortcodes to display and style Font Awesome icons within Obsidian Slides. This allows for more granular control over icon appearance, such as color and size.
```html
HTML Synthax
ShortCode Synthax
:fas_envelope:
```
--------------------------------
### Specify Custom Theme Path in Frontmatter
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/themes
This example shows how to reference a custom CSS theme file located within your Obsidian vault. The 'theme' property in the frontmatter points to the relative path of your custom theme file.
```markdown
---
theme: css/my-theme.css
---
```
--------------------------------
### Auto-Animate Slides with Data Attribute
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax/slideAnimation
This example demonstrates how to enable automatic animation between two adjacent slides in Obsidian Slides. By adding the 'data-auto-animate' attribute to both slide annotations, matching elements will be animated by the Auto-Animate feature.
```html
# Title
---
# Title
##### **Subtitle**
```
--------------------------------
### Create First Slide Content - Markdown
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/getting-started/firstSteps
This code snippet demonstrates the basic Markdown structure required to create the first slide (cover page) and a subsequent slide in Obsidian Slides Extended. It involves using a heading for the cover page and a horizontal rule to separate slides.
```markdown
#### Hello from Cover Page
---
Greetings from second Slide
```
--------------------------------
### Basic Text Styling with Markdown
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/basic-syntax/textStyle
Demonstrates how to use Markdown syntax for italic, bold, and combined text styles. Also shows how to use strikethrough and highlighting. Comments are also shown.
```markdown
*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__
%%This is a Comment(Can't see it)%%
_You **can** combine them_
---
Any word wrapped with two tildes (like ~~this~~) will appear crossed out.
Any word wrapped with two equal signs (like ==this==) will appear as highlighted.
```
--------------------------------
### Obsidian Slides Extended: Block Comment Syntax
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax/blockComment
Demonstrates the basic syntax for using block comments in Obsidian Slides Extended. The ':::' syntax defines a block, and content within it is grouped. Annotations can be added to the opening ':::' to apply properties to the entire block.
```markdown
::: block
#### Header
_and_
Paragraph content
*in same block*
:::
---
no color
::: block
everything inside this block has red background color
::: block
blue
:::
red
:::
no color
```
--------------------------------
### Distribute Space Between Grid Children
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/layout/grid
The 'justify-content' property for the grid component manages the distribution of space between and around child elements. It accepts values such as 'start', 'center', 'space-between', 'space-around', 'space-evenly', and 'end'. The default value is 'space-evenly'.
```html
```
```html
Item 1
Item 2
Item 3
Item 4
Item 1
Item 2
Item 3
Item 4
Item 1
Item 2
Item 3
Item 4
```
--------------------------------
### Apply an Advanced Slide Template (Markdown)
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/templates
This Markdown snippet demonstrates how to use the 'tpl-con-2-1-box' template in a presentation. It sets up the presentation theme and then uses block comments (::: title, ::: left, etc.) to populate the template's sections with specific content.
```markdown
---
theme: consult
height: 540
margin: 0
maxScale: 4
---
::: title
### _**This is the Title of this Slide**_
:::
::: left
![[Image.jpg|1500]]
:::
::: right
**Header #1**
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
- tium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequa
- augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit a
- Nam quam nunc
Umsetzungsschritte
**Header #2**
- Curabitur
- condimentum
- Maecenas
**Header #3**
- justo
- rhoncus
- semper
:::
::: source
###### Source: Copied from Lorem ipsum dolor Generator
:::
```
--------------------------------
### Markdown Headings
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/basic-syntax/heading
Demonstrates the use of Markdown's heading syntax, from H1 to H6, to structure content. This is a standard Markdown feature applicable across many platforms.
```markdown
# This is a heading 1
## This is a heading 2
### This is a heading 3
#### This is a heading 4
##### This is a heading 5
###### This is a heading 6
```
--------------------------------
### Annotate Slides with Style and Class (HTML)
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax/slideAnnotations
Demonstrates how to use HTML comment tags to apply 'style' or 'class' attributes to an entire slide. This allows for global styling of slide content, such as setting background colors. The syntax is `` placed before the slide content.
```html
# Header with coral background color
Paragraph has coral background color, too!
---
- All Bullet points
- have green
- background color
```
--------------------------------
### Set Global Slide Backgrounds with Frontmatter (YAML)
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax/slideBackground
Illustrates how to set a background for all slides in a presentation using YAML frontmatter. This method supports color names, hex codes, and RGB values. It also shows how to set a transparent background.
```yaml
---
bg: red
---
```
```yaml
---
bg: '#ff0000'
---
```
```yaml
---
bg: rgb(70, 70, 255)
---
```
```yaml
---
bg: transparent
---
```
--------------------------------
### Apply a Simple Slide Template (Markdown)
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/templates
This Markdown snippet shows how to apply the 'tpl-footer' slide template in a presentation. It uses a slide annotation to specify the template and then defines content for the main section and the footer.
```markdown
# This header will be part of the content section defined in the template
Everything define outside a block will be placed in the content section.
Therefore every template has to contain at least a content variable.
To place a text into the footer section you have to create a block comment with the name of the variable you defined in the template.
::: footer
#### This header will be placed in the footer section of the template
:::
```
--------------------------------
### Markdown for Horizontal and Vertical Slides
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax/slides
Demonstrates the markdown syntax for creating horizontal slides using '---' and vertical slides using '--', both surrounded by blank lines. This is the basic method for structuring slides.
```markdown
# Slide 1
---
# Slide 2.1
--
# Slide 2.2
```
--------------------------------
### Annotate Slides with Style or Class Properties
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax
Apply style or class properties to an entire slide by annotating it with ``. This is useful for setting background colors or applying consistent styling across slide elements.
```markdown
# Header with coral background color
Paragraph has coral background color, too!
---
- All Bullet points
- have green
- background color
```
```
--------------------------------
### Embed Excalidraw Diagrams in Obsidian Slides
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax/excalidraw
Demonstrates how to embed Excalidraw diagrams within Obsidian Slides Extended presentations. Requires enabling 'Auto-Export SVG / PNG' in Excalidraw settings. Supports specifying dimensions for the embedded diagram.
```markdown
#### Excalidraw support
![[Sample.excalidraw|100]]
![[Sample.excalidraw]]
```
--------------------------------
### Basic Fragment Usage in HTML
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax/fragments
Demonstrates how to use the 'fragment' class to make elements appear incrementally on a slide. Different classes can be appended to modify the default fade-in behavior.
```html
```
--------------------------------
### Element Annotations Syntax - Markdown
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/extend-syntax/classes
Demonstrates the syntax for applying element annotations directly within Markdown content. These annotations allow for styling text with borders, backgrounds, and custom attributes using HTML-like comments.
```markdown
text with border
text with background
text with attribute
```
--------------------------------
### Positioning Grid Content by Coordinates - HTML
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/layout/grid
Demonstrates positioning grid elements using absolute coordinates. Positive 'x' values position from the left, negative 'x' from the right. Positive 'y' values position from the top, negative 'y' from the bottom. Allows for precise placement of content blocks.
```html
60 x 55
25 x 55
90 x 20
```
--------------------------------
### Embed HTML Video Tag in Obsidian Slides
Source: https://www.ebullient.dev/projects/obsidian-slides-extended/basic-syntax/video
Demonstrates how to insert a video into an Obsidian slide using the HTML `