Skip to content

ManasMakde/host-mdx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

host-mdx

Version

This creates and serves a github pages style html directory from a corresponding mdx directory

Usage

deno npm:host-mdx [<mdx-dir>] [<optional-port-number>] [<optional-html-dir>]

Example

deno npm:host-mdx "/home/username/my-website-template/" 3113 "/home/username/Desktop/my-website/"
my-website-template/
├─ index.mdx
├─ about/
│  └─ index.mdx
├─ projects/
│  ├─ project1/
│  │  └─ index.mdx
│  └─ project2/
│     └─ index.mdx
└─ static/
   ├─ image1.png
   ├─ image2.jpg
   └─ styles.css
my-website/
├─ index.html
├─ about/
│  └─ index.html
├─ projects/
│  ├─ project1/
│  │  └─ index.html
│  └─ project2/
│     └─ index.html
└─ static/
   ├─ image1.png
   ├─ image2.jpg
   └─ styles.css

The site will now be visible in the browser at localhost:3113

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published