MarkdownToHtml.psd1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 |
# # Module manifest for module 'MarkDownToHTML' # # Generated by: WetHat # # Generated on: 11/7/2017 7:57:32 AM # @{ # Script module or binary module file associated with this manifest. RootModule = 'MarkdownToHtml.psm1' # Version number of this module. ModuleVersion = '2.7.1' # Supported PSEditions CompatiblePSEditions = 'Desktop' # ID used to uniquely identify this module GUID = 'ac6c6204-4097-4693-ba7e-3e0167383c24' # Author of this module Author = 'WetHat' # Company or vendor of this module CompanyName = 'WetHat Lab' # Copyright statement for this module Copyright = '(c) 2018-2022 WetHat Lab. All rights reserved.' # Description of the functionality provided by this module Description = @' A collection of PowerShell commands to convert Markdown files to static HTML sites in various ways. # Components packaged with this module: | Component |Version | Description |-------------------------------------------------|--------|----------------------------------- | [Markdig](https://github.com/lunet-io/markdig) | 0.28.1 | Fast Markdown processor for .NET | [highlight.js](https://highlightjs.org/) | 11.5.1 | Code syntax highlighter | [KaTeX](https://katex.org/) | 0.15.3 | Math typesetting | [Mermaid](http://mermaid-js.github.io/mermaid/) | 9.0.0 | Diagramming | [Svgbob](https://lib.rs/crates/svgbob_cli) | 0.6.6 | Text based diagramming Code Syntax Highlighting (highlight.js) : Pre-configured code syntax highlighting languages in this package: | Language | Fenced Code Block Alias | ---------------: | : --------------------------------------------------- | Bash | bash, sh, zsh | C# | csharp, cs | C | c, h | C++ | cpp, hpp, cc, hh, c++, h++, cxx, hxx | Clojure | clojure, clj | Clojure REPL | clojure-repl | CMake | cmake, cmake.in | CSS | css | Diff | diff, patch | DOS .bat | dos, bat, cmd | F# | fsharp, fs | Groovy | groovy | Go | go, golang | HTML/XML | xml, html, xhtml, rss, atom, xjb, xsd, xsl, plist, svg | HTTP | http, https | Java | java, jsp | JavaScript | javascript, js, jsx | JSON | json | Julia | julia | Julia REPL | julia-repl | LaTex | tex | Lisp | lisp | Makefile | makefile, mk, mak, make | Markdown | markdown, md, mkdown, mkd | Maxima | maxima | Perl | perl, pl, pm | Plain Text | plaintext, txt, text | PowerShell | powershell, ps, ps1 | Python | python, py, gyp | Python REPL | python-repl, pycon | R | r | Rust | rust, rs | SQL | sql | TOML, INI | ini, toml | Visual Basic.net | vbnet, vb | YAML | yml, yaml See also [Customization](about_MarkdownToHTML.md#customization) for more information. Markdown Extensions : Projects generated by `New-StaticHTMLSiteProject` have following Markdown extensions pre-configured: * `common` * `definitionlists` * `mathematics` * `diagrams` * `pipetables` * `autoidentifiers` '@ # Minimum version of the Windows PowerShell engine required by this module PowerShellVersion = '5.1' # Name of the Windows PowerShell host required by this module # PowerShellHostName = '' # Minimum version of the Windows PowerShell host required by this module # PowerShellHostVersion = '' # Minimum version of Microsoft .NET Framework required by this module # DotNetFrameworkVersion = '' # Minimum version of the common language runtime (CLR) required by this module # CLRVersion = '' # Processor architecture (None, X86, Amd64) required by this module # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module # RequiredModules = @() # Assemblies that must be loaded prior to importing this module RequiredAssemblies = @( 'Markdig.dll' 'System.Web' ) # Script files (.ps1) that are run in the caller's environment prior to importing this module. # ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module # TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module # FormatsToProcess = @() # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @( 'SiteNavigation.psm1' 'HtmlFragments.psm1' ) # Functions to export from this module FunctionsToExport = @( 'Convert-MarkdownToHTML' 'Convert-MarkdownToHTMLFragment' 'Convert-SvgbobToSvg' 'ConvertTo-NavigationItem' 'Expand-HtmlTemplate' 'Expand-DirectoryNavigation' 'Find-MarkdownFiles' 'New-PageHeadingNavigation' 'New-SiteNavigation' 'New-StaticHTMLSiteProject' 'New-HTMLTemplate' 'Publish-StaticHtmlSite' 'Test-LocalSiteLinks' 'Update-ResourceLinks' ) # Cmdlets to export from this module CmdletsToExport = '*' # Variables to export from this module VariablesToExport = '*' # Aliases to export from this module AliasesToExport = '*' # List of all modules packaged with this module ModuleList = @() # List of all files packaged with this module FileList = @( 'MarkdownToHtml.psm1' 'HtmlFragments.psm1' 'SiteNavigation.psm1' 'Markdig.dll' 'svgbob_cli.exe' 'System.Memory.dll' 'System.Runtime.CompilerServices.Unsafe.dll' 'System.Numerics.Vectors.dll' 'vcruntime140.dll' ) # Private data to pass to the module specified in RootModule/ModuleToProcess PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. Tags = @( 'Markdown' 'HTML' 'Converter' 'StaticHTMLSites' ) # A URL to the license for this module. LicenseUri = 'https://github.com/WetHat/MarkdownToHtml/blob/master/LICENSE' # A URL to the main website for this project. ProjectUri = 'https://github.com/WetHat/MarkdownToHtml' # A URL to an icon representing this module. IconUri = 'https://upload.wikimedia.org/wikipedia/commons/2/2f/PowerShell_5.0_icon.png' # ReleaseNotes of this module ReleaseNotes = @' Release notes for this and previous releases are on GitHub at: [MarkdownToHtml Releases](https://github.com/WetHat/MarkdownToHtml/releases). ## Upgrading Custom Templates and Static Site Projects. Unless there is a known incompatibility (see below) or you want to take advantage of new capabilities, **no action** is needed. Refer to [Upgrading Custom Conversion Templates](New-StaticHTMLSiteProject.md#upgrading-custom-conversion-templates) for custom template upgrade instructions and to [Upgrading Static Site Projects](New-StaticHTMLSiteProject.md#upgrading-static-site-projects) for static site upgrades. ## Known Incompatibilities ### 2.7.0 {#2.7.0} > The fix for [issue #35](https://github.com/WetHat/MarkdownToHtml/issues/35) > introduces an issue with `site_navigation` configurations in `Build.json` > build configuration files which are **below** the directory tree specified in > the `mardown_dir` option of the top-level build configuration file > (`Build.json`). The fix now handles relative links correctly. If you have > gotten navigation links to work by using links which are **not** relative > to the `Build.json` file they are defined in, the no longer work. > > To locate these links you can use the `Test-LocalSiteLinks` function. ### 2.0.0 {#2.0.0} > If you have have conversion projects which use the _mathematics_ extensions and > were created with versions of this module older than 2.0.0 (i.e. 1.* or 0.*). > The version of _Markdig_ included in this release introduces an > incompatiblity with projects which use the _mathematics_ extension. > > To address this incompaibility the _KaTex_ configuration in > **all** deployed html templates (`md_template.html`) need to be updated like so: > > ~~~ html > <script> > // <![CDATA[ > window.onload = function() { > var tex = document.getElementsByClassName("math"); > Array.prototype.forEach.call(tex, function(el) { > katex.render(el.textContent, el, { > displayMode: (el.nodeName == "DIV"), > macros: { > "\\(": "", > "\\)": "", > "\\[": "", > "\\]": "" > } > }) > }); > }; > // ]]> > </script> > ~~~ '@ } # End of PSData hashtable } # End of PrivateData hashtable # HelpInfo URI of this module HelpInfoURI = 'https://wethat.github.io/MarkdownToHtml/' # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. # DefaultCommandPrefix = '' } |