Downloads of v 1.0.2:


Last Update:

03 Apr 2018

Package Maintainer(s):

Software Author(s):

  • Glauber D. Gasparotto Junior


markdown-generator markdown split-doc markdown-translator

Markdown Generator

  • 1
  • 2
  • 3

1.0.2 | Updated: 03 Apr 2018



Downloads of v 1.0.2:



Software Author(s):

  • Glauber D. Gasparotto Junior

  • 1
  • 2
  • 3
Markdown Generator 1.0.2

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files


To install Markdown Generator, run the following command from the command line or from PowerShell:


To upgrade Markdown Generator, run the following command from the command line or from PowerShell:


To uninstall Markdown Generator, run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade markdown-generator -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade markdown-generator -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure markdown-generator installed
    name: markdown-generator
    state: present
    version: 1.0.2
    source: STEP 3 URL

See docs at

chocolatey_package 'markdown-generator' do
  action    :install
  version  '1.0.2'
  source   'STEP 3 URL'

See docs at

    Name: markdown-generator,
    Version: 1.0.2,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller markdown-generator
   Name     = 'markdown-generator'
   Ensure   = 'Present'
   Version  = '1.0.2'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'markdown-generator':
  provider => 'chocolatey',
  ensure   => '1.0.2',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install markdown-generator version="1.0.2" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator gep13 on 04 Apr 2018.


This tool is an executable that tries to solve common problems for people who write with markdown documents.

$packageName = 'markdown-generator'
$exeName = 'MarkdownGenerator.exe'
$url = ''
$binRoot = Get-ToolsLocation
$installPath = Join-Path $binRoot $packageName
$checksum = '2F7F2728B882CD8A94A83FC8926842F837F77E903EC331F1A068D29023BEF293'
$checksumType = 'sha256'

# Download and unzip file
Install-ChocolateyZipPackage -PackageName $packageName `
                             -Url $url `
                             -UnzipLocation $installPath `
							 -Checksum $checksum `
                             -ChecksumType $checksumType

# Create environment path in windows
Install-ChocolateyPath $installPath 'user'

# Create shortcut in desktop
#Write-Host "Create Desktop ShortCurt..."
#$desktop = $([System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::DesktopDirectory))
#$desktop = Join-Path $desktop "$packageName.lnk"
#Write-Host $desktop
#Install-ChocolateyShortcut -shortcutFilePath $desktop -targetPath "$installPath/$exeName"

# Create shortcut in start menu
#Write-Host "Create StartMenu ShortCurt..."
#$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs)
#$programs = Join-Path $programs "$packageName.lnk"
#Write-Host $programs
#Install-ChocolateyShortcut -shortcutFilePath $programs -targetPath "$installPath/$exeName"
$packageName = 'markdown-generator'
$toolsPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
$unPath = Join-Path $toolsPath 'Uninstall-ChocolateyPath.psm1'
$binRoot = Get-ToolsLocation
$installPath = Join-Path $binRoot $packageName

# Remove environment path windows
Import-Module $unPath
Uninstall-ChocolateyPath $installPath 'User'

# Remove folder
Write-Host "Remove Folder $packageName"
if (Test-Path $installPath) {
    Remove-Item -Path $installPath -Recurse -Force

# Remove shortcut in desktop
#Write-Host "Remove Desktop ShortCurt..."
#$desktop = $([System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::DesktopDirectory))
#$desktop = Join-Path $desktop "$packageName.lnk"
#Write-Host $desktop
#if (Test-Path $desktop) {   
#    Remove-Item -Path $desktop

# Remove shortcut in start menu
#Write-Host "Remove StartMenu ShortCurt..."
#$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs)
#$programs = Join-Path $programs "$packageName.lnk"
#Write-Host $programs
#if (Test-Path $programs) {
#    Remove-Item -Path $programs
function Uninstall-ChocolateyPath {
  [string] $pathToUninstall,
  [System.EnvironmentVariableTarget] $pathType = [System.EnvironmentVariableTarget]::User
  Write-Debug "Running 'Uninstall-ChocolateyPath' with pathToUninstall:`'$pathToUninstall`'";

  #get the PATH variable
  $envPath = $env:PATH
  #$envPath = [Environment]::GetEnvironmentVariable('Path', $pathType)
  if (!$envPath.ToLower().Contains($pathToUninstall.ToLower())) {
    Write-Host "PATH environment variable does not have $pathToUninstall in it."

  Write-Host "PATH environment variable has $pathToUninstall in it. Removing..."
  $actualPath = [Environment]::GetEnvironmentVariable('Path', $pathType)

  # escape regex metachars, match possible backslash and item separator at eol
  $pathToUninstallRegex = ($pathToUninstall -replace '([\\().])', '\$1') + '\\?(;|$)'

  # remove pathToUninstall from actualPath
  $actualPath = $actualPath -replace "$pathToUninstallRegex", ''

  if ($pathType -eq [System.EnvironmentVariableTarget]::Machine) {
    $psArgs = "[Environment]::SetEnvironmentVariable('Path',`'$actualPath`', `'$pathType`')"
    Start-ChocolateyProcessAsAdmin "$psArgs"
  } else {
    [Environment]::SetEnvironmentVariable('Path', $actualPath, $pathType)

  # remove from path of current powershell session
  $envPSPath = $env:PATH
  $env:Path = $envPSPath -replace "$pathToUninstallRegex", ''

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Markdown Generator 1.0.1 252 Wednesday, January 17, 2018 Approved

This package has no dependencies.

Discussion for the Markdown Generator Package

Ground Rules:

  • This discussion is only about Markdown Generator and the Markdown Generator package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Markdown Generator, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus