vscode-reveal icon indicating copy to clipboard operation
vscode-reveal copied to clipboard

Create self-contained html file

Open rleyvasal opened this issue 2 years ago • 3 comments

Is there a way to create a self-contained htm file in vscode-reveal (one html without extra folders)? like the way this is done with revealjs markdown presentations in the following:

https://quarto.org/docs/presentations/revealjs/presenting.html

Code to create self-contained html file:

---
title: "Presentation"
format:
  revealjs:
    self-contained: true
---

rleyvasal avatar Jul 22 '22 20:07 rleyvasal

You mean include all js in HTML ?

evilz avatar Jul 23 '22 11:07 evilz

Yes, in quarto, self-contained creates one html file with all it's corresponding js, images, etc. Makes it easier to distribute as a single file.

On Sat, Jul 23, 2022, 4:21 AM Vincent B. @.***> wrote:

You mean include all js in HTML ?

— Reply to this email directly, view it on GitHub https://github.com/evilz/vscode-reveal/issues/1017#issuecomment-1193108927, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOT6MYGUHJWNFVMQCECIIHLVVPITBANCNFSM54MU3BAQ . You are receiving this because you authored the thread.Message ID: @.***>

rleyvasal avatar Jul 23 '22 13:07 rleyvasal

Short answer is no.

But it can be cool in some way. 🤔

It's not so easy to do. And means image are in base64 I think.

evilz avatar Jul 23 '22 14:07 evilz