Simple static website demo (HTML, CSS, Markdown)
Directories
.
+-- README.md
+-- assets
│ \-- *.png
+-- css
│ \-- style.css
+-- display.html
+-- display2.html
+-- footer.html
+-- index.html
+-- md_pages
│ +-- intro.md
│ \-- lesson.md
\-- navigation.html
-
Create html pages and build website with (*.html, *.css) files
-
Create your md files (*.md)
-
Import this script inside your header (within head tag)
<script type="module" src="https://cdn.jsdelivr.net/npm/zero-md@3?register"></script> -
Link your md files
<zero-md src="md_pages/intro.md"></zero-md>see zero-md docs
-
(Deployment) Go to your Cloudflare dashboard (free for pet-projects)
-
Go to Worker and Pages
-
Connect with your github or gitlab
-
Access repo you want to deploy (cloudflare supports both private and public repos)
-
Select your repo for deployment
-
Configure your deployment setup, see docs.
- Write your build settings, left empty in case of static html website
- Now your deployment is running
- Your website deploy successfully
Note: Wait few minutes for DNS server to build sucessfully.








