all repos — hastyscribe @ 818dbb2f21f47420806960951e19e924047d867c

A professional markdown compiler.

Fixed #74
h3rald h3rald@h3rald.com
Thu, 05 Nov 2020 13:56:09 +0100
commit

818dbb2f21f47420806960951e19e924047d867c

parent

669a56eb5d1018a4e3c224312e6676e6dc249439

5 files changed, 34 insertions(+), 48 deletions(-)

jump to
M .travis.yml.travis.yml

@@ -1,21 +1,21 @@

language: c cache: directories: - - "$HOME/.nimble" - - "$HOME/.choosenim" + - '$HOME/.nimble' + - '$HOME/.choosenim' install: - - export CHOOSENIM_CHOOSE_VERSION="1.0.0" + - export CHOOSENIM_CHOOSE_VERSION="1.4.0" - | - curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh - sh init.sh -y + curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh + sh init.sh -y before_script: - set -e - set -x - export PATH=$HOME/.nimble/bin:$PATH - export CHOOSENIM_NO_ANALYTICS=1 script: - - nimble install -y nifty - - nifty install - - nifty build discount - - nimble -y build - - ./build_guide + - nimble install -y nifty + - nifty install + - nifty build discount + - nimble -y build + - ./build_guide
D build_guide

@@ -1,1 +0,0 @@

-./hastyscribe doc/HastyScribe_UserGuide.md --field/version=1.12.0
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.0/hastyscribe_v1.12.0_macosx_x64.zip">HastyScribe for Mac OS X (x64)</a></li> -<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.12.0/hastyscribe_v1.12.0_windows_x64.zip">HastyScribe for Windows (x64)</a></li> -<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.12.0/hastyscribe_v1.12.0_linux_x64.zip">HastyScribe for Linux (x64)</a></li> +<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> </ul>

@@ -7610,59 +7610,59 @@ </thead>

<tbody> <tr> <td><code>{{$timestamp}}</code> </td> -<td> 1598783377</td> +<td> 1604580919</td> </tr> <tr> <td><code>{{$date}}</code> </td> -<td> 2020-08-30</td> +<td> 2020-11-05</td> </tr> <tr> <td><code>{{$full-date}}</code> </td> -<td> Sunday, August 30, 2020</td> +<td> Thursday, November 5, 2020</td> </tr> <tr> <td><code>{{$long-date}}</code> </td> -<td> August 30, 2020</td> +<td> November 5, 2020</td> </tr> <tr> <td><code>{{$medium-date}}</code> </td> -<td> Aug 30, 2020</td> +<td> Nov 5, 2020</td> </tr> <tr> <td><code>{{$short-date}}</code> </td> -<td> 8/30/20</td> +<td> 11/5/20</td> </tr> <tr> <td><code>{{$short-time}}</code> </td> -<td> 12:29 PM</td> +<td> 13:55 PM</td> </tr> <tr> <td><code>{{$short-time-24}}</code> </td> -<td> 12:29</td> +<td> 13:55</td> </tr> <tr> <td><code>{{$time}}</code> </td> -<td> 12:29:37 PM</td> +<td> 13:55:19 PM</td> </tr> <tr> <td><code>{{$time-24}}</code> </td> -<td> 12:29:37</td> +<td> 13:55:19</td> </tr> <tr> <td><code>{{$day}}</code> </td> -<td> 30</td> +<td> 05</td> </tr> <tr> <td><code>{{$short-day}}</code> </td> -<td> 30</td> +<td> 5</td> </tr> <tr> <td><code>{{$month}}</code> </td> -<td> 08</td> +<td> 11</td> </tr> <tr> <td><code>{{$short-month}}</code> </td> -<td> 8</td> +<td> 11</td> </tr> <tr> <td><code>{{$year}}</code> </td>

@@ -7674,23 +7674,23 @@ <td> 20</td>

</tr> <tr> <td><code>{{$weekday}}</code> </td> -<td> Sunday</td> +<td> Thursday</td> </tr> <tr> <td><code>{{$weekday-abbr}}</code> </td> -<td> 30</td> +<td> 05</td> </tr> <tr> <td><code>{{$month-name}}</code> </td> -<td> August</td> +<td> November</td> </tr> <tr> <td><code>{{$month-name-abbr}}</code> </td> -<td> Aug</td> +<td> Nov</td> </tr> <tr> <td><code>{{$timezone-offset}}</code> </td> -<td> +02:00</td> +<td> +01:00</td> </tr> </tbody> </table>

@@ -8827,7 +8827,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; August 30, 2020</p> + <p><span class="copy"></span> Fabio Cevasco &ndash; November 5, 2020</p> <p><span>Powered by</span> <a href="https://h3rald.com/hastyscribe"><span class="hastyscribe"></span></a></p> </div> </div>
M src/hastyscribe.nimsrc/hastyscribe.nim

@@ -552,19 +552,6 @@ discard

else: discard - if dumpdata != "": - if input == "": - quit(usage, 1) - elif options.css == "": - quit(usage, 4) - elif options.output == "": - quit(usage, 5) - elif options.watermark == "": - quit(usage, 6) - - if input == "": - quit(usage, 0) - for file in walkFiles(input): files.add(file)
M src/hastyscribepkg/config.nimsrc/hastyscribepkg/config.nim

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

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