The post you're citing is about GitHub Pages. Read the Pages documentation to see how it's done. You have finished HTML files, so what you want is called a static site.

How does a github visitor/contributor find that link from this page:

You give it to them, for example list it as the website for your repository or put a link into the README.

🌐
GitHub
github.com › htmlpreview › htmlpreview.github.com
GitHub - htmlpreview/htmlpreview.github.com: HTML Preview for GitHub Repositories · GitHub
Many GitHub repositories don't use GitHub Pages to host their HTML files. GitHub & BitBucket HTML Preview allows you to render those files without cloning or downloading whole repositories.
Starred by 1.7K users
Forked by 437 users
Languages   JavaScript 78.6% | HTML 21.4%
🌐
GitHub
github.com › litehtml › litehtml
GitHub - litehtml/litehtml: Fast and lightweight HTML/CSS rendering engine · GitHub
Fast and lightweight HTML/CSS rendering engine. Contribute to litehtml/litehtml development by creating an account on GitHub.
Starred by 2.3K users
Forked by 281 users
Languages   C++ 61.9% | C 34.1% | Ragel 3.8% | CMake 0.2%
🌐
GitHub
github.com › meliorence › react-native-render-html
meliorence/react-native-render-html: iOS/Android pure ...
import React from 'react'; import { useWindowDimensions } from 'react-native'; import RenderHtml from 'react-native-render-html'; const source = { html: ` <p style='text-align:center;'> Hello World!
Starred by 3.6K users
Forked by 626 users
Languages   TypeScript 76.5% | MDX 11.1% | JavaScript 8.2% | SCSS 3.4%
🌐
Observable
observablehq.com › @triptych › rendering-html-from-a-github-gist
How to: Rendering HTML from a Github gist / Andrew Wooldridge | Observable
October 20, 2021 - (ex: https://gist.github.com/t...384b565b/index.html ) paste into input box below the rendered HTML appears below that! You could fetch anything -- data, content, you name it! You can leverage the Versioning from Github with the Rendering of Observable!...
Find elsewhere
🌐
GeeksforGeeks
geeksforgeeks.org › git › how-to-render-github-html-code-in-browser-without-downloading
How to Render Github HTML Code in browser without downloading ? - GeeksforGeeks
August 2, 2024 - Step 2: Click and Open the html file that you want eg index.html · Step 3: Then click on the ... more action button above the history button and click on copy permanent link. The GitHub link will be copied · Step 4: Then go to Raw.githack.com and paste the link into the input box · Step 5: Copy the URL in the production field and paste it into the browser ... This allows you to render HTML files in GitHub without cloning or downloading the whole repositories.
🌐
Chrome Web Store
chromewebstore.google.com › detail › pmpjligbgooljdpakhophgddmcipglna
Github Html Preview - Chrome Web Store
- Private Repository Support: Configure your GitHub token to preview HTML files in private repositories. - Quick Access: Use Ctrl + Shift + Y (Windows/Linux) or Command + Shift + Y (Mac), or right-click and select "Preview HTML" from the context ...
🌐
GitHub
docs.github.com › en › repositories › working-with-files › using-files › working-with-non-code-files
Working with non-code files - GitHub Docs
When you add Jupyter Notebook or IPython Notebook files with a .ipynb extension on GitHub, they will render as static HTML files in your repository.
🌐
Latenode
community.latenode.com › other questions › github
How to view rendered HTML files directly from GitHub repository without downloading? - Github - Latenode Official Community
July 1, 2025 - I’m working with GitHub repositories that contain HTML, CSS, JavaScript, and image files. When I click on an HTML file in a repository, GitHub shows me the raw source code instead of rendering it as a webpage. For insta…
🌐
GitHub
github.com › topics › html-rendering
html-rendering · GitHub Topics · GitHub
A powerful and flexible framework-agnostic library for rendering HTML content into Shadow DOM with complete style isolation and full script execution support.
🌐
GitHub
github.com › hatashiro › react-render-html
GitHub - hatashiro/react-render-html: Render HTML as React element, possibly replacing dangerouslySetInnerHTML · GitHub
May 4, 2020 - import renderHTML from 'react-render-html'; renderHTML("<a class='github' href='https://github.com'><b>GitHub</b></a>") // => React Element // <a className="github" href="https://github.com"><b>GitHub</b></a>
Starred by 214 users
Forked by 30 users
Languages   JavaScript
🌐
YouTube
youtube.com › watch
Run HTML Files Directly From GitHub Instead of Just Viewing Their Source (without GitHub Pages) - YouTube
Can you run HTML files directly from GitHub without using GitHub Pages? Yes! Here are two quick ways, and sorry for the terrible audio.check out my blog here...
Published   October 30, 2022
Views   11K
🌐
GitHub
github.com › theajack › canvas-render-html
GitHub - theajack/canvas-render-html: Render HTML code with canvas · GitHub
Render HTML code with canvas. Contribute to theajack/canvas-render-html development by creating an account on GitHub.
Author   theajack
🌐
GitHub
github.com › yawaramin › dream-html
GitHub - yawaramin/dream-html: Type-safe markup rendering, form validation, and routing for OCaml Dream web framework · GitHub
opam pin add pure-html git+https://github.com/yawaramin/dream-html opam pin add dream-html git+https://github.com/yawaramin/dream-html · Respond with an HTML node from a handler: Dream_html.respond greeting · Compose multiple HTML nodes together into a single node without an extra DOM node, like React fragments: let view = null [p [] [txt "Hello"]; p [] [txt "World"]] String interpolation of text nodes using txt and any attribute which takes a string value: let greet name = p [id "greet-%s" name] [txt "Hello, %s!" name] Conditionally render an attribute, and statically enforce void elements as childless: let entry = input [ if should_focus then autofocus else null_; id "email"; name "email"; value "Email address"; ] Embed HTML comments in the generated document: div [] [comment "TODO: xyz."; p [] [txt "Hello!"]] (* <div><!-- TODO: xyz.
Starred by 202 users
Forked by 18 users
Languages   OCaml 56.1% | JavaScript 25.5% | CSS 12.6% | HTML 5.1%
🌐
GitHub
github.com › cristianoccazinsp › react-native-render-html
GitHub - cristianoccazinsp/react-native-render-html: Render HTML into RN · GitHub
Render HTML into RN. Contribute to cristianoccazinsp/react-native-render-html development by creating an account on GitHub.
Author   cristianoccazinsp
🌐
Meliorence
meliorence.github.io › react-native-render-html
Discover | React Native Render HTML
The hackable, full-featured Open Source HTML rendering solution for React Native.
🌐
GitHub
github.com › vikejs › vike › discussions › 1490
render HTML and inject data for SPA · vikejs/vike · Discussion #1490
February 14, 2024 - // https://vike.dev/onRenderHtml import { renderToStream, renderToString } from "solid-js/web"; import { escapeInject } from "vike/server"; import App from "../pages/App"; import type { OnRenderHtmlAsync } from "vike/types"; import { createUniqueId } from "solid-js"; const onRenderHtml: OnRenderHtmlAsync = async ( pageContext, ): ReturnType<OnRenderHtmlAsync> => { const { Page } = pageContext; const stream = renderToStream(() => Page, { nonce: "123", renderId: createUniqueId(), }); console.log(stream); const doc = escapeInject`<!DOCTYPE html> <html> <head> <style> .s{ background-color : red; }</style> </head> <body> <div id="page-view">${stream}</div> </body> </html>`; return doc; }; export { onRenderHtml };
Author   vikejs