Heading offset is now relative to topic.
h3rald h3rald@h3rald.com
Sat, 11 Mar 2017 15:32:32 +0100
5 files changed,
11 insertions(+),
11 deletions(-)
M
README.md
→
README.md
@@ -1,6 +1,6 @@
[](https://github.com/h3rald/hastyscribe) -[](https://github.com/h3rald/hastyscribe) +[](https://github.com/h3rald/hastyscribe) [](https://raw.githubusercontent.com/h3rald/hastyscribe/master/LICENSE) [](https://travis-ci.org/h3rald/hastyscribe)
M
doc/-syntax-block.md
→
doc/-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.md
→
doc/-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.htm
→
doc/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.nim
→
hastyscribe.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()