ojob.io/formats/html2mdDir

Usage

ojob ojob.io/formats/html2mdDir source=./site target=./site-md addtitle=true 

Description

Recreates a source folder's structure on a target folder and converts all .html files found into .md files on the corresponding target subfolders

Expects

Name Description
source The source folder to scan recursively for .html files
target The target folder where the folder structure and converted .md files will be written
addtitle If Markdown has no level-one heading, prepend a title from the filename, replacing hyphens and underscores with spaces (defaults to false)