unified processor to build html & css from markdown & scss.
- npm install
- Add your markdown content to /content directory
- Define a build directory & other settings in the .env file (optional)
- npm run build
- View the resulting html in the browser.
The program will look in the content folder for markdown files.
It will render any markdown files it finds into html, using unified.
We can style this html using a theme:
- Create a file
themeName.theme.scss
in the scss directory. - Create a file
fileName.themeName.md
in the content directory.
The resulting html will now be styled according to the theme stylesheet.
You can specify an arbitrary directory structure:
content
index.md
/foo
bar.md
which will be respected by the processor.