Skip to content

How do I publish a standalone html that I can share with people? #8867

Answered by mcanouil
jconns asked this question in Q&A
Discussion options

You must be logged in to vote

Could you properly format your post using code blocks for code and terminal outputs? Thanks.
If your code contains code blocks, you need to enclose it using more backticks, i.e., usually four ````.

This being said self-contained is "deprecated" in favour of embed-resources.
This option create a "standalone" HTML file.

it opens as just the raw code

It does not open by itself. You choose to open the HTML file and how you open it.
If you open it in an editor, it's to see the HTML code, so of course in this situation you see the code.
if you open it in a browser, then you see the rendered HTML.


You can share a self-contained "working" (reproducible) Quarto document using the following synt…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jconns
Comment options

Answer selected by jconns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
html Issues with HTML and related web technology (html/css/scss)
2 participants