Skip to content

v1.5.0

Compare
Choose a tag to compare
@EuropaServ EuropaServ released this 25 Mar 23:32
· 261 commits to main since this release
30bc519

Gistr Release Info (6f8d2174-be3f-5587-9ed4-c1acb0eb30fc)

  • Version began on: ........2024-03-23T23:26:13.000Z
  • SHA256: ................................897feb169d76e8af84a847084e54a798324658c8eccf9c5a203279eb935fe30f 🔺 gistr-1.5.0.zip
  • GUID: .......................................0a7f5dc4-b2fa-5064-9e54-f6e17fd14273
  • UUID: .......................................6f8d2174-be3f-5587-9ed4-c1acb0eb30fc
  • Stamp: ....................................1.4.7-2024-03-23T23:26:13.000Z 🔺 1.5.0-2024-03-25T23:32:42.000Z
  • Last Release: ......................2 days ago



What's New

  • feat: added new format to embedded gists
  • feat: added 'background' property
  • feat: added 'color' property
  • refactor: replaced individual variables with style interface
  • perf: optmizations to performance, no longer sending 1 call per line.



⚠️ Important

Version 1.5.0 of Gistr includes a new format for embedding gists.


Originally, to embed a gist, you would supply the web address to the gist, theme, specific files all in one url such as:

```gistr
https://gist.github.com/Aetherinox/5143c674e9adea5b256f5f58fe54ffbc&light
```

Codeblocks now support a structured format with property names and values:

```gistr
url:         https://gist.github.com/Aetherinox/5143c674e9adea5b256f5f58fe54ffbc
background:  https://i.imgur.com/95Tajqd.png
theme:       light
color:       FFF
file:        file2
```

The only REQUIRED value is url. The others are optional.

The 1 line older method is still available to use, as to be backwards compatible so that your current embedded gists will not break.


Codeblocks also now include two new properties:

Property Description
background Allows you to specify a web image URL to appear as the background to your code block
color The text color for code to appear as. Overrides your currently selected theme.



Statistics

How the files have changed:

  • Changed files : 16
  • Commits : 20
  • Additions : 1235
  • Deletions : 1005




Pull Requests

This release is associated with the following pull requests:


🚀 Features


🔧 Changes


📦 Build & Dependencies


🧹 Housekeeping