New-StaticHTMLSiteProject
Create a customizable Markdown to HTML site conversion project.
Syntax
New-StaticHTMLSiteProject [-ProjectDirectory] <String> [<CommonParameters>]
Description
Create a new static HTML site project directoy with some default content ready for building.
A single markdown file (README.md
) is provided as initial content. It explains
some customization options and the typical site authoring process.
It is recommended to build the project by executing its build script
Build.ps1
. This creates the initial static HTML site with the HTML version of
the README (html/README.html
) which is more pleasant to read also showcases
some features.
See Project Customization for details about the project directory structure and site customization.
Parameters
-ProjectDirectory <String>
The location of the new Markdown to HTML site conversion project.
Parameter Property Value Required? true Position? 1 Default value `` Accept pipeline input? false Accept wildcard characters? false
Inputs
None
Outputs
The new project directory object [System.IO.DirectoryInfo]
Examples
EXAMPLE 1
New-StaticHTMLSiteProject -ProjectDirectory MyProject
Create a new conversion project names 'MyProject' in the current directory. The project is ready for build.
Related Links
- https://wethat.github.io/MarkdownToHtml/2.3.1/New-StaticHTMLSiteProject.html
New-HTMLTemplate
- Project Customization
Module: MarkDownToHTML; Version: 2.3.1; (c) 2018-2021 WetHat Lab. All rights reserved.