all repos — hastyscribe @ 2e1fd8bc3943aac2afed82fdfc1b725c9bd940bc

A professional markdown compiler.

Heading offset is now relative to topic.
h3rald h3rald@h3rald.com
Sat, 11 Mar 2017 15:32:32 +0100
commit

2e1fd8bc3943aac2afed82fdfc1b725c9bd940bc

parent

8f7c51e96f23d053ba977c314ebe7c334d156141

5 files changed, 11 insertions(+), 11 deletions(-)

jump to
M README.mdREADME.md

@@ -1,6 +1,6 @@

[![Nimble](https://raw.githubusercontent.com/yglukhov/nimble-tag/master/nimble.png)](https://github.com/h3rald/hastyscribe) -[![Release](https://img.shields.io/github/release/h3rald/hastyscribe.svg?maxAge=2592000)](https://github.com/h3rald/hastyscribe) +[![Release](https://img.shields.io/github/release/h3rald/hastyscribe.svg)](https://github.com/h3rald/hastyscribe) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/h3rald/hastyscribe/master/LICENSE) [![Build Status](https://img.shields.io/travis/h3rald/hastyscribe.svg)](https://travis-ci.org/h3rald/hastyscribe)
M doc/-syntax-block.mddoc/-syntax-block.md

@@ -113,6 +113,6 @@ > * To download an image via HTTPS, you must explicitly recompile {{hs}} with [-d:ssl](class:kwd) and OpenSSL must be installed on your system.

> > If {{hs}} is unable to download an image, it will leave it linked. -{@ -syntax-block-lists.md || 3 @} +{@ -syntax-block-lists.md || 1 @} -{@ -syntax-block-classes.md || 3 @} +{@ -syntax-block-classes.md || 1 @}
M doc/-syntax.mddoc/-syntax.md

@@ -88,6 +88,6 @@ > * Like snippets, macros can be multiline.

> * Spaces and newline character are preseved ad the start and end of parameters. > * You can use snippets and fields within macros (but you cannot nest macros inside other macros). -{@ -syntax-inline.md || 2 @} +{@ -syntax-inline.md || 1 @} -{@ -syntax-block.md || 2 @} +{@ -syntax-block.md || 1 @}
M doc/HastyScribe_UserGuide.htmdoc/HastyScribe_UserGuide.htm

@@ -4684,7 +4684,7 @@ </thead>

<tbody> <tr> <td><code>{{$timestamp}}</code> </td> -<td> 1489241627</td> +<td> 1489242640</td> </tr> <tr> <td><code>{{$date}}</code> </td>

@@ -4708,19 +4708,19 @@ <td> 3/11/17</td>

</tr> <tr> <td><code>{{$short-time}}</code> </td> -<td> 15:13 PM</td> +<td> 15:30 PM</td> </tr> <tr> <td><code>{{$short-time-24}}</code> </td> -<td> 15:13</td> +<td> 15:30</td> </tr> <tr> <td><code>{{$time}}</code> </td> -<td> 15:13:47 PM</td> +<td> 15:30:40 PM</td> </tr> <tr> <td><code>{{$time-24}}</code> </td> -<td> 15:13:47</td> +<td> 15:30:40</td> </tr> <tr> <td><code>{{$day}}</code> </td>
M hastyscribe.nimhastyscribe.nim

@@ -169,7 +169,7 @@ var matches: array[0..1, string]

discard transclusion.match(peg_transclusion, matches) let path = cwd & matches[0].strip let value = matches[1].strip - let offset = value.split("||")[0].parseInt() + let offset = value.split("||")[0].parseInt() + offset if path.fileExists(): let fileInfo = path.splitFile() let contents = path.readFile()