This repository contains templates for different presentation tools
- Install Marp Slides Plugin.
- Clone repository to vault or link to templates folder:
ln -s /path/to/repo /path/in/vault
. - Add (relative)
path/in/vault/
in Marp Slides Config:Preferences
>Marp Slides
>Theme Path
- Install Marp plugin.
- Add marp settings from
settings.json.template
to local.vscode/settings.json
. - For an example of the common and custom functions use the
index.md
as a starting point.
<p class="small">Description</p>
<audio controls>
<source src="./audio/music.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<video controls>
<source src="./video/video.mp4" type="video/mp4">
</video>
The first option adds a class attribute to the section and splits the whole slide in to columns.
<!-- _class: split -->
The second option defines two columns within a div.
First column
Second column
- Add markdown-mermaid plugin and
- disable security settings for preview.
<div class="mermaid">
classDiagram
class Work
Work --> Expression : hasExpression
class RobinHood
RobinHood -- Version1
class Expression
Expression --> Work : isExpressionOf
Expression --> SubExpression : hasSubexpression
class SubExpression
SubExpression --> Expression : isSubexpressionOf
SubExpression --> Manifestation : hasManifestation
class Version1
Version1 -- Drafts
Version1 -- ShortNotation
Version1 -- FullNotation
class Drafts
Drafts -- CueSheets
Drafts -- Sketches
class ShortNotation
ShortNotation -- ShortScore
ShortNotation -- ConductorScore
class FullNotation
FullNotation -- FullScore
FullNotation -- Parts
class Manifestation
Manifestation --> SubExpression : isManifestationOf
Manifestation --> Item : hastItem
class CueSheets
class Sketches
class ShortScore
class ConductorScore
class FullScore
class Parts
class Item
Item --> Manifestation : isItemOf
</div>
<!-- Put this script at the end of Markdown file. -->
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
mermaid.initialize({ startOnLoad: true });
window.addEventListener('vscode.markdown.updateContent', function() { mermaid.init() });
</script>