Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/static/html-templates/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import Notes from "reveal.js/plugin/notes/notes.esm.js";
import Highlight from "reveal.js/plugin/highlight/highlight.esm.js";

import "reveal.js/dist/reveal.css";
import "reveal.js/dist/theme/black.css";
import "reveal.js/plugin/highlight/monokai.css";
import "reveal.js/dist/theme/dracula.css";
import "highlight.js/styles/base16/dracula.css";
import "../css/custom.css";

import slidesHTML from "../slides/slides.html?raw"; // raw loader, vite should support this
Expand All @@ -25,5 +25,4 @@ document.addEventListener("DOMContentLoaded", () => {

// DeckTape needs access to window.Reveal for export to work
window.Reveal = deck

});
2 changes: 1 addition & 1 deletion src/static/html-templates/slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1>OSEDA HTML Template</h1>

<section>
<h1>Code Example</h1>
<pre class="move-up-1"><code data-line-numbers="-1|1|2|3|-1" class="language-rust">fn main() {
<pre class="move-up-3"><code data-line-numbers="-1|1|2|3|-1" class="language-rust">fn main() {
let greeting = "Hello, world!";
println!("{}", greeting);
}</code></pre>
Expand Down
3 changes: 2 additions & 1 deletion src/static/md-templates/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import "reveal.js/plugin/highlight/monokai.css";


import "reveal.js/dist/reveal.css";
import "reveal.js/dist/theme/black.css";
import "reveal.js/dist/theme/dracula.css";
import "highlight.js/styles/base16/dracula.css";
import "../css/custom.css";

import slides from "../slides/slides.md?raw";
Expand Down
Loading