all repos — hastyscribe @ ccdc7e1dba8921b7b1bc695cfec63066b8f0aaa6

A professional markdown compiler.

Update usage, add --help option
kaminski kaminski@naew.nato.int
Wed, 31 Mar 2021 19:23:14 +0200
commit

ccdc7e1dba8921b7b1bc695cfec63066b8f0aaa6

parent

96364b721635e139a8078acfa69eac4aa08c2813

4 files changed, 29 insertions(+), 26 deletions(-)

jump to
M README.mdREADME.md

@@ -23,6 +23,7 @@ * **\-\-output-file=<file>** causes HastyScribe to write output to a local file (Use [\-\-output-file=-](class:opt) to output to standard output).

* **\-\-watermark=<file>** causes HastyScribe to embed and display an image as a watermark throughout the document. * **\-\-fragment** causes HastyScribe to output just an HTML fragment instead of a full document, without embedding any image, font or stylesheet. * **\-\-dump=all|styles|fonts** causes HastyScribe to dump all resources/stylesheets/fonts to the current directory. + * **\-\-help** causes HastyScribe to display the usage information and quit. ## FAQs
M doc/-usage.mddoc/-usage.md

@@ -18,6 +18,7 @@ * [\-\-output-file=<file>](class:opt) causes {{hs}} to write output to a local file (Use [\-\-output-file=-](class:opt) to output to standard output).

* [\-\-watermark=<file>](class:opt) causes {{hs}} to embed and display an image as a watermark throughout the document. * [\-\-fragment](class:opt) causes {{hs}} to output just an HTML fragment instead of a full document, without embedding any image, font or stylesheet. * [\-\-dump=all|styles|fonts](class:opt) causes {{hs}} to dump all resources/stylesheets/fonts to the current directory. + * [\-\-help](class:opt) causes {{hs}} to display the usage information and quit. ## Linux/OSX Examples
M doc/HastyScribe_UserGuide.htmdoc/HastyScribe_UserGuide.htm

@@ -7451,9 +7451,9 @@

<p>The easiest way to get HastyScribe is by downloading one of the prebuilt binaries from the <a href="https://github.com/h3rald/hastyscribe/releases/download/v">Github Release Page</a>:</p> <ul> -<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.12.3/hastyscribe_v1.12.3_macosx_x64.zip">HastyScribe for Mac OS X (x64)</a></li> -<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.12.3/hastyscribe_v1.12.3_windows_x64.zip">HastyScribe for Windows (x64)</a></li> -<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.12.3/hastyscribe_v1.12.3_linux_x64.zip">HastyScribe for Linux (x64)</a></li> +<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.12.4/hastyscribe_v1.12.4_macosx_x64.zip">HastyScribe for Mac OS X (x64)</a></li> +<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.12.4/hastyscribe_v1.12.4_windows_x64.zip">HastyScribe for Windows (x64)</a></li> +<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.12.4/hastyscribe_v1.12.4_linux_x64.zip">HastyScribe for Linux (x64)</a></li> </ul>

@@ -7507,6 +7507,7 @@ <li><span class="opt">--output-file=&lt;file&gt;</span> causes HastyScribe to write output to a local file (Use <span class="opt">--output-file=-</span> to output to standard output).</li>

<li><span class="opt">--watermark=&lt;file&gt;</span> causes HastyScribe to embed and display an image as a watermark throughout the document.</li> <li><span class="opt">--fragment</span> causes HastyScribe to output just an HTML fragment instead of a full document, without embedding any image, font or stylesheet.</li> <li><span class="opt">--dump=all|styles|fonts</span> causes HastyScribe to dump all resources/stylesheets/fonts to the current directory.</li> +<li><span class="opt">--help</span> causes HastyScribe to display the usage information and quit.</li> </ul> </li> </ul>

@@ -7610,87 +7611,87 @@ </thead>

<tbody> <tr> <td><code>{{$timestamp}}</code> </td> -<td> 1604580919</td> +<td> 1617135534</td> </tr> <tr> <td><code>{{$date}}</code> </td> -<td> 2020-11-05</td> +<td> 2021-03-30</td> </tr> <tr> <td><code>{{$full-date}}</code> </td> -<td> Thursday, November 5, 2020</td> +<td> Tuesday, March 30, 2021</td> </tr> <tr> <td><code>{{$long-date}}</code> </td> -<td> November 5, 2020</td> +<td> March 30, 2021</td> </tr> <tr> <td><code>{{$medium-date}}</code> </td> -<td> Nov 5, 2020</td> +<td> Mar 30, 2021</td> </tr> <tr> <td><code>{{$short-date}}</code> </td> -<td> 11/5/20</td> +<td> 3/30/21</td> </tr> <tr> <td><code>{{$short-time}}</code> </td> -<td> 13:55 PM</td> +<td> 22:18 PM</td> </tr> <tr> <td><code>{{$short-time-24}}</code> </td> -<td> 13:55</td> +<td> 22:18</td> </tr> <tr> <td><code>{{$time}}</code> </td> -<td> 13:55:19 PM</td> +<td> 22:18:54 PM</td> </tr> <tr> <td><code>{{$time-24}}</code> </td> -<td> 13:55:19</td> +<td> 22:18:54</td> </tr> <tr> <td><code>{{$day}}</code> </td> -<td> 05</td> +<td> 30</td> </tr> <tr> <td><code>{{$short-day}}</code> </td> -<td> 5</td> +<td> 30</td> </tr> <tr> <td><code>{{$month}}</code> </td> -<td> 11</td> +<td> 03</td> </tr> <tr> <td><code>{{$short-month}}</code> </td> -<td> 11</td> +<td> 3</td> </tr> <tr> <td><code>{{$year}}</code> </td> -<td> 2020</td> +<td> 2021</td> </tr> <tr> <td><code>{{$short-year}}</code> </td> -<td> 20</td> +<td> 21</td> </tr> <tr> <td><code>{{$weekday}}</code> </td> -<td> Thursday</td> +<td> Tuesday</td> </tr> <tr> <td><code>{{$weekday-abbr}}</code> </td> -<td> 05</td> +<td> 30</td> </tr> <tr> <td><code>{{$month-name}}</code> </td> -<td> November</td> +<td> March</td> </tr> <tr> <td><code>{{$month-name-abbr}}</code> </td> -<td> Nov</td> +<td> Mar</td> </tr> <tr> <td><code>{{$timezone-offset}}</code> </td> -<td> +01:00</td> +<td> +02:00</td> </tr> </tbody> </table>

@@ -8827,7 +8828,7 @@

<p style="text-align:center;"> <span class="fa-creative-commons"></span> <span class="fa-creative-commons-by"></span> <span class="fa-creative-commons-nc"></span> <span class="fa-creative-commons-nd"></span></p> </div> <div id="footer"> - <p><span class="copy"></span> Fabio Cevasco &ndash; November 5, 2020</p> + <p><span class="copy"></span> Fabio Cevasco &ndash; March 30, 2021</p> <p><span>Powered by</span> <a href="https://h3rald.com/hastyscribe"><span class="hastyscribe"></span></a></p> </div> </div>
M src/hastyscribepkg/config.nimsrc/hastyscribepkg/config.nim

@@ -1,4 +1,4 @@

const - pkgVersion* = "1.12.3" + pkgVersion* = "1.12.4" pkgAuthor* = "Fabio Cevasco" pkgDescription* = "Self-contained markdown compiler generating self-contained HTML documents"