Skip to content

Add devcontainer.json for preview in codespaces.#32

Open
BigBlueHat wants to merge 1 commit into
mainfrom
add-devcontainer
Open

Add devcontainer.json for preview in codespaces.#32
BigBlueHat wants to merge 1 commit into
mainfrom
add-devcontainer

Conversation

@BigBlueHat

@BigBlueHat BigBlueHat commented Mar 31, 2026

Copy link
Copy Markdown
Member

This adds in-browser editing to this specific as we did in w3c/vc-render-method#46

@BigBlueHat
BigBlueHat requested a review from wes-smith March 31, 2026 17:01
@wes-smith

Copy link
Copy Markdown
Collaborator

Pasting instructions from w3c/vc-render-method#46:
"This eases the use of GitHub Codespaces for editing by providing a Live Server to preview the HTML while editing in a browser.

This is somewhat experimental, but it may be useful for folks wanting to edit the HTML without downloading and installing all the necessary editing and previewing kit.

Usage

Click "Code" (top-right corner on this PR) and click "Create"
In the VS Code editor that opens in your browser, choose the index.html file.
Then click "Go Live" in the bottom right and a new tab should open with a live reloading preview of index.html.
In the editor tab, make changes to index.html.
In the preview tab, see the changes.
Pretty handy. 😎

Stopping the Codespace

The containers are auto-stopped 30 minutes after inactivity, so if you want it stopped sooner, click the container name in the bottom right corner of the editor then click "Stop Container" in the list of options that appears. Or, click "Delete Container" if you're completely done with it."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants