Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: h3rald/hastyscribe
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.3
Choose a base ref
...
head repository: h3rald/hastyscribe
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Sep 21, 2013

  1. Initial commit

    Able to compile markdown files, includes embedded minified CSS.
    h3rald committed Sep 21, 2013
    Copy the full SHA
    28adaea View commit details

Commits on Sep 22, 2013

  1. Updated LESS stylesheets

    With notes, special lists, media queries, etc.
    h3rald committed Sep 22, 2013
    Copy the full SHA
    cad415d View commit details

Commits on Sep 29, 2013

  1. Copy the full SHA
    f47f9ea View commit details

Commits on Oct 5, 2013

  1. CSS updates

    h3rald committed Oct 5, 2013
    Copy the full SHA
    d763f3e View commit details

Commits on Oct 6, 2013

  1. CSS updates.

    h3rald committed Oct 6, 2013
    Copy the full SHA
    0923329 View commit details

Commits on Oct 12, 2013

  1. Removed font-embedding features, CSS updates

    Implemented styles for most of HTML tags.
    h3rald committed Oct 12, 2013
    Copy the full SHA
    cfc7e8c View commit details
  2. Minor changes

    h3rald committed Oct 12, 2013
    Copy the full SHA
    cc90a11 View commit details
  3. Copy the full SHA
    1d825ae View commit details

Commits on Oct 19, 2013

  1. Copy the full SHA
    9cda466 View commit details

Commits on Nov 2, 2013

  1. Syntax highlighting, minor tweaks

    Closes #9
    h3rald committed Nov 2, 2013
    Copy the full SHA
    3ef6a1b View commit details

Commits on Dec 6, 2013

  1. Copy the full SHA
    2f21119 View commit details

Commits on Dec 8, 2013

  1. Refactoring headings support

    h3rald committed Dec 8, 2013
    Copy the full SHA
    2f8549d View commit details

Commits on Dec 12, 2013

  1. Update hastyscribe.less

    h3rald committed Dec 12, 2013
    Copy the full SHA
    c96ab5d View commit details

Commits on Feb 2, 2014

  1. Copy the full SHA
    6b23a36 View commit details

Commits on Feb 3, 2014

  1. Set heanding sizes.

    h3rald committed Feb 3, 2014
    Copy the full SHA
    4cfa7d1 View commit details
  2. Copy the full SHA
    92fd82f View commit details

Commits on Feb 13, 2014

  1. Copy the full SHA
    fdaf4cb View commit details

Commits on Feb 20, 2014

  1. Update badges.less

    h3rald committed Feb 20, 2014
    Copy the full SHA
    e2f34f2 View commit details

Commits on May 10, 2014

  1. Copy the full SHA
    f542b9a View commit details
  2. Copy the full SHA
    caa3a08 View commit details

Commits on May 18, 2014

  1. Started writing user guide, added back-to-top links, improved stylesh…

    …eets, updated dependencies.
    h3rald committed May 18, 2014
    Copy the full SHA
    e8386d3 View commit details

Commits on May 25, 2014

  1. Copy the full SHA
    8e3ed69 View commit details
  2. Added extra badges.

    h3rald committed May 25, 2014
    Copy the full SHA
    b997277 View commit details

Commits on Jul 5, 2014

  1. Copy the full SHA
    336a6b7 View commit details
  2. Removed jQuery.

    h3rald committed Jul 5, 2014
    Copy the full SHA
    b388098 View commit details

Commits on Jul 13, 2014

  1. Copy the full SHA
    4801aba View commit details
  2. CSS Improvements

    Updated link icons and colors in blocks.
    h3rald committed Jul 13, 2014
    Copy the full SHA
    1ad42b3 View commit details
  3. Minor improvements

    h3rald committed Jul 13, 2014
    Copy the full SHA
    a2b9ee7 View commit details

Commits on Jul 19, 2014

  1. Refactoring, updated logo & README

    Also added babel file.
    h3rald committed Jul 19, 2014
    Copy the full SHA
    e9ea183 View commit details
  2. Documentation updates

    Finished HastyScribe User Guide; updated licensing file.
    h3rald committed Jul 19, 2014
    Copy the full SHA
    25bbc32 View commit details

Commits on Jul 27, 2014

  1. Implemented Go to Top links in headings

    Closes #11
    h3rald committed Jul 27, 2014
    Copy the full SHA
    e2417b7 View commit details

Commits on Aug 3, 2014

  1. Fixed mailto: link style

    h3rald committed Aug 3, 2014
    Copy the full SHA
    3efb305 View commit details

Commits on Aug 7, 2014

  1. CSS improvements

    Closes #15.
    h3rald committed Aug 7, 2014
    Copy the full SHA
    271d544 View commit details
  2. Added unstyled lists

    Closes #26.
    h3rald committed Aug 7, 2014
    Copy the full SHA
    2e86f96 View commit details

Commits on Sep 7, 2014

  1. Added README file.

    h3rald committed Sep 7, 2014
    Copy the full SHA
    2a3c4cd View commit details

Commits on Sep 12, 2014

  1. Stylesheet improvements

    * Closes #17, #18, #19.
    h3rald committed Sep 12, 2014
    Copy the full SHA
    d108e46 View commit details
  2. Copy the full SHA
    0c0867d View commit details
  3. Renamed "partial" less files.

    h3rald committed Sep 12, 2014
    Copy the full SHA
    9774f76 View commit details
  4. Renamed "partial" less files.

    h3rald committed Sep 12, 2014
    Copy the full SHA
    6031d62 View commit details
  5. Copy the full SHA
    f24cb3f View commit details

Commits on Oct 4, 2014

  1. Upgraded to FontAwesome 4.2.0

    * Closes #20
    * Closes #21
    h3rald committed Oct 4, 2014
    Copy the full SHA
    6781fa4 View commit details
  2. Upgraded to FontAwesome 4.2.0

    * Closes #20
    * Closes #21
    h3rald committed Oct 4, 2014
    Copy the full SHA
    7c04f39 View commit details
  3. Ready for 1.0.4 release.

    h3rald committed Oct 4, 2014
    Copy the full SHA
    c5a8419 View commit details
  4. Update hastyscribe.babel

    h3rald committed Oct 4, 2014
    Copy the full SHA
    56286c4 View commit details

Commits on Oct 14, 2014

  1. Fixed MIME type truncation on embedded images

    Except for png, the data URIs for images were being written like
    data:image/mp, data:image/pg, data:image/if instead of bmp, jpg, gif.
    ap0state committed Oct 14, 2014
    Copy the full SHA
    39700d8 View commit details
  2. Merge pull request #23 from ap0state/bugfix

    Fixed MIME type truncation on embedded images
    h3rald committed Oct 14, 2014
    Copy the full SHA
    5470236 View commit details
  3. Copy the full SHA
    f9c4cb5 View commit details

Commits on Oct 17, 2014

  1. Copy the full SHA
    20ebac2 View commit details
  2. - Fixed incorrect syntax for configure.sh options.

    - Allowing any file extension to be compiled.
    (Closes #22 and #26)
    h3rald committed Oct 17, 2014
    Copy the full SHA
    e4135d2 View commit details

Commits on Oct 18, 2014

  1. Added support for Linux ARM builds.

    * Closes #25.
    h3rald committed Oct 18, 2014
    Copy the full SHA
    2850f6b View commit details
Showing with 7,960 additions and 4,352 deletions.
  1. +131 −0 .github/workflows/add-artifacts-to-current-release.yml
  2. +43 −0 .github/workflows/ci.yml
  3. +4 −2 .gitignore
  4. +21 −0 LICENSE
  5. +0 −181 LICENSE.md
  6. +26 −60 README.md
  7. +0 −5 assets/README.md
  8. BIN assets/fonts/SourceCodePro-Regular.ttf.woff
  9. BIN assets/fonts/SourceSansPro-Bold.ttf.woff
  10. BIN assets/fonts/SourceSansPro-BoldIt.ttf.woff
  11. BIN assets/fonts/SourceSansPro-It.ttf.woff
  12. BIN assets/fonts/SourceSansPro-Regular.ttf.woff
  13. BIN assets/fonts/fontawesome-webfont.woff
  14. BIN assets/fonts/hastyscribe.woff
  15. +0 −435 assets/images/hastyscribe.svg
  16. +0 −52 assets/styles/badges.less
  17. +0 −43 assets/styles/blocks.less
  18. +0 −259 assets/styles/elements.less
  19. +0 −506 assets/styles/fa-icons.less
  20. +0 −515 assets/styles/fa-variables.less
  21. +0 −1 assets/styles/hastyscribe.css
  22. +0 −10 assets/styles/hastyscribe.less
  23. +0 −83 assets/styles/headings.less
  24. +0 −50 assets/styles/links.less
  25. +0 −123 assets/styles/mixins.less
  26. +0 −406 assets/styles/normalize.less
  27. +0 −59 assets/styles/variables.less
  28. +1 −0 description
  29. +66 −0 doc/-api.md
  30. +25 −0 doc/-credits.md
  31. +31 −0 doc/-getting-started.md
  32. +81 −0 doc/-overview.md
  33. +146 −0 doc/-syntax-block-classes.md
  34. +166 −0 doc/-syntax-block-lists.md
  35. +153 −0 doc/-syntax-block.md
  36. +163 −0 doc/-syntax-inline.md
  37. +108 −0 doc/-syntax.md
  38. +64 −0 doc/-usage.md
  39. +2,198 −285 doc/HastyScribe_UserGuide.htm
  40. +6 −729 doc/HastyScribe_UserGuide.md
  41. BIN {assets → doc}/images/hastyscribe.png
  42. +0 −44 hastyscribe.babel
  43. +0 −262 hastyscribe.nim
  44. +64 −0 hastyscribe.nimble
  45. +0 −28 hastyscribe.nimrod.cfg
  46. +0 −175 markdown.nim
  47. +0 −38 nakefile.nim
  48. +715 −0 src/hastyscribe.nim
  49. +12 −0 src/hastyscribe.nim.cfg
  50. +4 −0 src/hastyscribepkg/config.nim
  51. +83 −0 src/hastyscribepkg/consts.nim
  52. +1 −0 src/hastyscribepkg/data/hastyscribe-original.svg
  53. +1 −0 src/hastyscribepkg/data/hastyscribe.svg
  54. +76 −0 src/hastyscribepkg/data/hastystyles.badges.css
  55. +1,323 −0 src/hastyscribepkg/data/hastystyles.css
  56. +1,861 −0 src/hastyscribepkg/data/hastystyles.icons.css
  57. +47 −0 src/hastyscribepkg/data/hastystyles.links.css
  58. +4 −0 src/hastyscribepkg/data/hastystyles.notes.css
  59. +188 −0 src/hastyscribepkg/markdown.nim
  60. +74 −0 src/hastyscribepkg/niftylogger.nim
  61. +74 −0 src/hastyscribepkg/utils.nim
  62. BIN src/hastyscribepkg/vendor/markdown/linux/libmarkdown.a
  63. BIN src/hastyscribepkg/vendor/markdown/macosx/libmarkdown.a
  64. BIN src/hastyscribepkg/vendor/markdown/windows/libmarkdown.a
  65. BIN vendor/libmarkdown_linux.a
  66. BIN vendor/libmarkdown_macosx.a
  67. BIN vendor/libmarkdown_windows.a
  68. +0 −1 version.nim
131 changes: 131 additions & 0 deletions .github/workflows/add-artifacts-to-current-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
name: Add Artifacts to Current Release

# Controls when the action will run.
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
release:
name: 'Build and upload artifacts'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest

env:
CHOOSENIM_CHOOSE_VERSION: stable
CHOOSENIM_NO_ANALYTICS: 1

steps:
# Cancel other actions of the same type that might be already running
- name: 'Cancel similar actions in progress'
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}

# Detects OS and provide Nim-friendly OS identifiers
- name: Detect current OS
id: os
run: echo "os=${{matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'macos-latest' && 'macosx' || matrix.os == 'windows-latest' && 'windows'}}" >> $GITHUB_OUTPUT

# Checks out the repository
- uses: actions/checkout@v2

# Installs libraries
- name: install musl-gcc
run: sudo apt-get install -y musl-tools
if: matrix.os == 'ubuntu-latest'

# Sets path (Linux, macOS)
- name: Update $PATH
shell: bash
run: |
echo "$HOME/.nimble/bin" >> $GITHUB_PATH
echo $GITHUB_WORKSPACE >> $GITHUB_PATH
# Sets path (Windows)
- name: Update %PATH%
run: |
echo "${HOME}/.nimble/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "${GITHUB_WORKSPACE}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
if: matrix.os == 'windows-latest'

# Install the Nim compiler
- name: Install Nim
run: |
curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
sh init.sh -y
# Temporary Windows-specific fix (missing certificates for nimble)
- name: Install cert (temporary fix, windows only)
run: |
curl https://curl.se/ca/cacert.pem -L -o cacert.pem
if: matrix.os == 'windows-latest'

# Build for Linux
- name: Build (Linux)
run: |
nimble build -v -y --passL:-static -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --mm:refc --opt:size
if: matrix.os == 'ubuntu-latest'

# Build for macOS/Windows
- name: Build (macOS, Windows)
shell: bash
run: |
nimble build -v -y -d:release --mm:refc --opt:size
if: matrix.os == 'macos-latest' || matrix.os == 'windows-latest'


# UPX compress (*nix)
- name: UPX
uses: svenstaro/upx-action@v2
with:
files: |
hastyscribe
args: --best --force
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'

# UPX compress (Windows)
- name: UPX
uses: svenstaro/upx-action@v2
with:
files: |
hastyscribe.exe
args: --best --force
if: matrix.os == 'windows-latest'

# Retrieve ID and Name of the current (draft) release
- name: "Get current release"
id: current-release
uses: InsonusK/get-latest-release@v1.0.1
with:
myToken: ${{ github.token }}
exclude_types: "release"
view_top: 1

# Package the resulting Linux/macOS binary
- name: Create artifact (Linux, macOS)
run: zip hastyscribe_${{steps.current-release.outputs.tag_name}}_${{steps.os.outputs.os}}_x64.zip hastyscribe
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'

# Package the resulting Windows binary
- name: Create artifact (Windows)
run: Compress-Archive -Path hastyscribe.exe -DestinationPath hastyscribe_${{steps.current-release.outputs.tag_name}}_windows_x64.zip
if: matrix.os == 'windows-latest'

# Upload artifacts to current draft release
- name: "Upload to current release"
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "hastyscribe_v*.zip"
overwrite: true
tag_name: ${{steps.current-release.outputs.tag_name}}
release_id: ${{steps.current-release.outputs.id }}
verbose: true
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "ci"
ci:
# The type of runner that the job will run on
runs-on: ubuntu-latest
env:
CHOOSENIM_CHOOSE_VERSION: stable
CHOOSENIM_NO_ANALYTICS: 1

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: install musl-gcc
run: sudo apt-get install -y musl-tools

- name: Update $PATH
run: echo "$HOME/.nimble/bin" >> $GITHUB_PATH

- name: Install Nim
run: |
curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
sh init.sh -y
- name: Build
run: |
nimble build -y -d:release --passL:-static --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc
./hastyscribe doc/HastyScribe_UserGuide.md
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
nimcache/
build/
libmarkdown.a
README.htm
hastyscribe.exe
hastyscribe
nakefile
*.zip
packages/
*.zip
test.md
test.html?
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2013-2023 Fabio Cevasco

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
181 changes: 0 additions & 181 deletions LICENSE.md

This file was deleted.

Loading