Skip to content

DaveEveritt/markdown-site-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website generated from separate markdown files

page built from Markdown files compiled with Showdown.js. Just edit the markdown, push and the live site is updated.

TO DO

  • put pages in a more flexible data structure
  • replace EcoVisum material
  • contain code in an IIFE
  • do mobile menu
  • make design as a skin
  • refactor styles as a neutral wireframe
  • automate minification of .js files
  • add "use strict"

Minification

leave js/showdown.min.js out

cat js/content.js js/mdconvert.js js/scripts.js > js/scripts.concat.js

uglifyjs doesn't do ES6. Try one of these:

or go with the herd and try Gulp

JavaScript linting and formatting

use the Prettier and Healthier modules, which can be installed globally.

In package.json:

"lint": "healthier && prettier --check '**/*.{js,json,css,yml}'",
"format": "prettier --write '**/*.{js,json,css,yml}'"

References

Also see

About

A website generator using Markdown files for sections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published