Skip to content

Astro-Gists

@matthiesenxyz/ astro-gists

Allows the user to import GitHub Gists by ID through an Astro Component and Octokit.

Live Demo:

hello.md
1
# Hello World!
2
3
This is a Hello World Markdown Demo for the Astro-Gist Integration
4
5
Here's a link to [a website](http://foo.bar), to a [local
6
doc](local-doc.html), and to a [section heading in the current
7
doc](#an-h2-header). Here's a footnote [^1].
8
9
[^1]: Footnote text goes here.
10
11
Tables can look like this:
12
13
size material color
14
---- ------------ ------------
15
9 leather brown
16
10 hemp canvas natural
17
11 glass transparent
18
19
Table: Shoes, their sizes, and what they're made of
20
21
(The above is the caption for the table.) Pandoc also supports
22
multi-line tables:
23
24
-------- -----------------------
25
keyword text
26
-------- -----------------------
27
red Sunsets, apples, and
28
other red or reddish
29
things.
30
31
green Leaves, grass, frogs
32
and other things it's
33
not easy being.
34
-------- -----------------------

Features:

  • Import Collection of GitHub Gists by ID
  • Import Single GitHub Gists by Filename
  • Uses Octokit for GitHub API Integration
  • ExpressiveCode Built-in for Syntax Highlighting and better Code blocks!
  • Supports light and dark themes & uses the user’s system preference!
  • Built with AIK: astro-integration-kit is a set of tools and utilities for building integrations for Astro.