A FEW SIMPLE STEPS
Get started
- Create a note and choose HTML or import a .html file.
- Paste a document or a short markup fragment, then use Format if needed.
- Open Preview and inspect the available screen widths.
- Return to Edit for changes, then download or copy your HTML source.
Open editor takes you to the draft on this page. Paste or open a source file, or choose Try this example. Save to notebook keeps a named copy with your notes. Your workspace style stays unchanged.
Review markup as source and as a page
Choose HTML for tag highlighting, then format supported markup to make the nesting easier to follow. Open Preview to inspect the rendered HTML in a sandboxed frame, with desktop, tablet, and mobile preview widths.
A fragment can be previewed without writing an entire document wrapper. Keep related CSS in a style element when you want it included in that HTML example; separate notebook notes are not automatically linked as a website project.
Use the preview for a focused check
HTML previews start with scripts and external resources blocked. To run scripts or load remote images and styles, use Enable external resources and confirm the warning for content you trust. Use Reload to reset the preview state.
The preview does not install packages, build a project, or host a website. For large source documents, preview uses only the first 200,000 characters. Download the .html source to continue work in your project.
A few questions
Does the HTML preview execute JavaScript?
Yes. Scripts in the HTML can execute inside the sandboxed preview frame. This is useful for small examples; the notebook does not provide a package manager or an application build system.