Writing
Simple but powerful.
Markdown
To write you presentation, use can use Markdown in a .md
file. This theme will take care to render the Markdown into a beautiful presentation.
Because the theme is using the font Poppins, you could see some unexpected results. For example,
--mode
will render as with a long dash instead of 2 minus. Use should use ` (backtick) to surround your code block.Read more about using Markdown in Slidev.
Front Matter
You can use Front Matter to choose a layout.
slides.md
---layout: cover---
Best Practices
Use must use the following best practices to have a consistent presentation and a good experience.
h1
for the title of the cover and section slidesh2
for the title of the slides with content- Text under title will be used as subtitle
Code Highlighting
This theme come with 2 pre-configured code highlighters.
Prism
You can use Prism to highlight your code.
Read more about using Prism in Slidev.
Shiki
You can also use Shiki for a better experience.
slides.md
---theme: aneohighlighter: shikilayout: cover---# Shiki
Read more about using Shiki in Slidev.
Icons
Slidev allows you to use icons in your presentation.
slides.md
<carbon-badge />
Find more icons on icones.js.org.
Read more about using icons in Slidev.
Table of Contents