all repos — hastyscribe @ 307fdd69d0ce724084a470cd2cc3963119789cb1

A professional markdown compiler.

Merge branch 'master' of github.com:h3rald/hastyscribe
h3rald h3rald@h3rald.com
Sun, 30 Apr 2023 13:57:14 +0000
commit

307fdd69d0ce724084a470cd2cc3963119789cb1

parent

d378ef57a0db6ca190949e67069f49288fd03a10

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

jump to
M README.mdREADME.md

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

-![nim](https://img.shields.io/badge/nim-powered-yellow.svg?link=https://nim-lang-org) -![release](https://img.shields.io/github/release/h3rald/hastyscribe/all.svg) -![build](https://img.shields.io/travis/h3rald/hastyscribe.svg) +[![Nimble](https://raw.githubusercontent.com/yglukhov/nimble-tag/master/nimble.png)](https://nimble.directory/pkg/hastyscribe) + +![release](https://img.shields.io/github/release/h3rald/hastyscribe.svg) ![license](https://img.shields.io/github/license/h3rald/hastyscribe.svg) # HastyScribe

@@ -65,8 +65,19 @@ 2. Download and build [Nifty][nifty], and put it somewhere in your $PATH.

3. Clone the HastyScribe [repository](https://github.com/h3rald/hastyscribe). 4. Navigate to the HastyScribe repository local folder. 5. Run **nifty install** to download HastyScribe's dependencies. + - Note: Some users may need to install libmarkdown2-dev 6. Run **nifty build discount** to build the Discount markdown library. 7. Run **nim c -d:release hastyscribe.nim**. + + +### Quick Installation + +```sh +nimble install nifty +&& sudo apt install libmarkdown2-dev +&& nimble install hastyscribe +``` +If you are using another operating system without apt you can install libmarkdown2 [here](https://launchpad.net/debian/+source/discount) [nim]: http://nim-lang.org/ [nifty]: https://github.com/h3rald/nifty
M doc/-syntax-block-classes.mddoc/-syntax-block-classes.md

@@ -2,9 +2,9 @@ # Class Blocks

## Notes -[Discount][discount] supports the definition of _class blocks_: [div](class:kwd)s with a class attribute. The syntax is very similar to the one used for [block quotes](#Block.Quotes), with the addition of the class name wrapped in [%](class:kwd)s on the first line. +[Discount][discount] supports the definition of _class blocks_: [div](class:kwd)s with a class attribute. The syntax is very similar to the one used for [block quotes](#Block-Quotes), with the addition of the class name wrapped in [%](class:kwd)s on the first line. -In {{hs}}, this syntax is used to produce notes, [tips](#Tips), [warmings](#Warnings), [sidebars](#Sidebars) and [terminal sessions](#Terminal.Sessions). +In {{hs}}, this syntax is used to produce notes, [tips](#Tips), [warmings](#Warnings), [sidebars](#Sidebars) and [terminal sessions](#Terminal-Sessions). {{input-text}}
M doc/-syntax-block.mddoc/-syntax-block.md

@@ -14,7 +14,7 @@

> %note% > Note > -> If you use [Document Headers](#Document.Headers), A [H1](class:kwd) is used for the title of the {{hs}} document. Within the document, start using headings from [H2](class:kwd). +> If you use [Document Headers](#Document-Headers), A [H1](class:kwd) is used for the title of the {{hs}} document. Within the document, start using headings from [H2](class:kwd). ## Tables
M src/hastyscribe.nim.cfgsrc/hastyscribe.nim.cfg

@@ -1,9 +1,12 @@

-# https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/ - -amd64.windows.gcc.path = "/usr/local/bin" -amd64.windows.gcc.exe = "x86_64-w64-mingw32-gcc" -amd64.windows.gcc.linkerexe = "x86_64-w64-mingw32-gcc" - -amd64.linux.gcc.path = "/usr/local/bin" -amd64.linux.gcc.exe = "x86_64-linux-musl-gcc" -amd64.linux.gcc.linkerexe = "x86_64-linux-musl-gcc" +# https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/ + +amd64.windows.gcc.path = "/usr/local/bin" +amd64.windows.gcc.exe = "x86_64-w64-mingw32-gcc" +amd64.windows.gcc.linkerexe = "x86_64-w64-mingw32-gcc" + +amd64.linux.gcc.path = "/usr/local/bin" +amd64.linux.gcc.exe = "x86_64-linux-musl-gcc" +amd64.linux.gcc.linkerexe = "x86_64-linux-musl-gcc" + +--gc = "orc" +--opt = "size"