__smm_static_temp_content__

Defaults and Options

smm.config.json supports these useful options:

Default values used when user config is missing

{
  "rootTitle": "Serve My MD",
  "description": "A simple markdown to static site builder.",
  "baseRoute": "/",
  "defaultTheme": "dark",
  "markdownItOptions": {
    "html": true,
    "xhtmlOut": true,
    "breaks": true,
    "langPrefix": "language-",
    "linkify": true,
    "typographer": false
  },
  "outDir": "dist",
  "favicon": "",
  "logo": "",
  "name": "Serve My MD",
  "showNameWithLogo": true,
  "sortRoutes": true,
  "trimIndexFromPath": false
}

Example:

{
  "rootTitle": "My Docs",
  "description": "Team documentation",
  "baseRoute": "/",
  "defaultTheme": "dark",
  "sortRoutes": true,
  "trimIndexFromPath": true,
  "publicPath": "public",
  "outDir": "my-site"
}