TODO:
CREDITS:
Well... it's not finished yet but ready to use.
I will show you how to create a new page
open views/markdown
and create new file with format .md.
WARNING: do not use special characters when naming files.
Open a new file and fill it with markdown
Example:
md---
title: Your Title
---
# Hello World
> Blockquote
[Link](https://markdownitapp.mioun.repl.co/)
Now check by going to the url http://your-web.com/article/filename.
You can also custom css in public/style.css.
Check config.toml file for global configuration
and frontmatter for inpage configuration.
Example open https://markdownitapp.mioun.repl.co/example.
To run server use
bashbash main.sh
instead of
bashnpm start
if it's the first time.
And then, you can add anything you want like navbar 😃
The application includes several performance optimizations:
The application now includes a fully functional dark mode feature:
config.toml with the darkmode option (users can still override this with the toggle)Choose between custom CSS or Pico CSS (classless framework):
config.toml and set css_framework to:
"custom" - Use custom styling (default)"pico" - Use Pico CSS for automatic semantic HTML stylingWhen developing and making changes to markdown files, you can disable caching by setting the CLEAR_CACHE environment variable:
bashCLEAR_CACHE=true npm start
This ensures you see file changes immediately without needing to restart the server.
This project supports static site generation for deployment to serverless platforms like Vercel, Netlify, or GitHub Pages.
bashnpm install
npm run dev # Start development server
bashnpm run build # Generates static site in /dist directory
bashnpm install -g vercel
vercel
Or connect your GitHub repo to Vercel for automatic deployments.
bashnpm install -g netlify-cli
netlify deploy --prod
npm run builddist folder to gh-pages branch/views/markdown/*.md - Markdown content files/public/* - Static assets (CSS, JS, images)/dist/* - Built static site (generated)That's all for now.