<html lang="en">
<head></head>
<body>

<form id="mainForm" method="post" action="https://stackblitz.com/run" target="_self">
<input type="hidden" name="project[files][CHANGELOG.md]" value="# @example/remark-asciinema

## 0.0.7

### Patch Changes

- a307d76: updated dependencies

## 0.0.6

### Patch Changes

- 17e55fe: Updated developer experience and readmes

## 0.0.5

### Patch Changes

- 59750e2: migrated to tsdown

## 0.0.4

### Patch Changes

- 59b6b88: Created create-stephansama-example cli to automatically download examples

## 0.0.3

### Patch Changes

- 23ce67b: upgraded catppuccin rss to generate theme instead of hardcoding it

## 0.0.2

### Patch Changes

- 1bf00a3: patching alfred-kaomoji
">
<input type="hidden" name="project[files][README.md]" value="# Remark Asciinema Example

```sh
pnpm create astro@latest -- --template blog
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/blog)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/blog)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/blog/devcontainer.json)

&gt; 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!

![blog](https://github.com/withastro/astro/assets/2244813/ff10799f-a816-4703-b967-c78997e8323d)

Features:

- ✅ Minimal styling (make it your own!)
- ✅ 100/100 Lighthouse performance
- ✅ SEO-friendly with canonical URLs and OpenGraph data
- ✅ Sitemap support
- ✅ RSS Feed support
- ✅ Markdown &amp; MDX support

## 🚀 Project Structure

Inside of your Astro project, you&#39;ll see the following folders and files:

```text
├── public/
├── src/
│   ├── components/
│   ├── content/
│   ├── layouts/
│   └── pages/
├── astro.config.mjs
├── README.md
├── package.json
└── tsconfig.json
```

Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.

There&#39;s nothing special about `src/components/`, but that&#39;s where we like to put any Astro/React/Vue/Svelte/Preact components.

The `src/content/` directory contains &quot;collections&quot; of related Markdown and MDX documents. Use `getCollection()` to retrieve posts from `src/content/blog/`, and type-check your frontmatter using an optional schema. See [Astro&#39;s Content Collections docs](https://docs.astro.build/en/guides/content-collections/) to learn more.

Any static assets, like images, can be placed in the `public/` directory.

## 🧞 Commands

All commands are run from the root of the project, from a terminal:

| Command                | Action                                           |
| :--------------------- | :----------------------------------------------- |
| `pnpm install`         | Installs dependencies                            |
| `pnpm dev`             | Starts local dev server at `localhost:4321`      |
| `pnpm build`           | Build your production site to `./dist/`          |
| `pnpm preview`         | Preview your build locally, before deploying     |
| `pnpm astro ...`       | Run CLI commands like `astro add`, `astro check` |
| `pnpm astro -- --help` | Get help using the Astro CLI                     |

## 👀 Want to learn more?

Check out [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).

## Credit

This theme is based off of the lovely [Bear Blog](https://github.com/HermanMartinus/bearblog/).
">
<input type="hidden" name="project[files][astro.config.ts]" value="import mdx from &quot;@astrojs/mdx&quot;;
import sitemap from &quot;@astrojs/sitemap&quot;;
import asciinema from &quot;@stephansama/remark-asciinema&quot;;
import { defineConfig } from &quot;astro/config&quot;;

// https://astro.build/config
export default defineConfig({
	integrations: [mdx(), sitemap()],
	markdown: {
		remarkPlugins: [[asciinema, { embedType: &quot;script&quot; }]],
	},
	site: &quot;https://example.com&quot;,
});
">
<input type="hidden" name="project[files][package.json]" value="{&quot;name&quot;:&quot;@example/remark-asciinema&quot;,&quot;version&quot;:&quot;0.0.7&quot;,&quot;private&quot;:true,&quot;description&quot;:&quot;Example astro site demonstrating how to use remark-asciinema plugin&quot;,&quot;type&quot;:&quot;module&quot;,&quot;scripts&quot;:{&quot;astro&quot;:&quot;astro&quot;,&quot;build&quot;:&quot;astro build&quot;,&quot;dev&quot;:&quot;astro dev&quot;,&quot;lint&quot;:&quot;eslint ./ &amp;&amp; astro check&quot;,&quot;lint:fix&quot;:&quot;eslint ./src/ --fix&quot;,&quot;preview&quot;:&quot;astro preview&quot;},&quot;dependencies&quot;:{&quot;@astrojs/mdx&quot;:&quot;4.3.4&quot;,&quot;@astrojs/sitemap&quot;:&quot;3.4.1&quot;,&quot;astro&quot;:&quot;5.9.3&quot;},&quot;devDependencies&quot;:{&quot;@astrojs/check&quot;:&quot;^0.9.6&quot;,&quot;@stephansama/remark-asciinema&quot;:&quot;https://pkg.pr.new/stephansama/packages/@stephansama/remark-asciinema@921bce0&quot;}}">
<input type="hidden" name="project[files][tsconfig.json]" value="{
	&quot;extends&quot;: &quot;astro/tsconfigs/strict&quot;,
	&quot;include&quot;: [&quot;.astro/types.d.ts&quot;, &quot;**/*&quot;],
	&quot;exclude&quot;: [&quot;dist&quot;],
	&quot;compilerOptions&quot;: {
		&quot;strictNullChecks&quot;: true
	}
}
">
<input type="hidden" name="project[files][.turbo/turbo-lint.log]" value="
&gt; @example/remark-asciinema@0.0.7 lint /home/runner/work/packages/packages/examples/remark-asciinema
&gt; eslint ./ &amp;&amp; astro check

21:45:38 [content] Syncing content
21:45:38 [content] Synced content
21:45:38 [types] Generated 2.45s
21:45:38 [check] Getting diagnostics for Astro files in /home/runner/work/packages/packages/examples/remark-asciinema...
Result (9 files): 
- 0 errors
- 0 warnings
- 0 hints

">
<input type="hidden" name="project[files][.astro/content-assets.mjs]" value="export default new Map();">
<input type="hidden" name="project[files][.astro/content-modules.mjs]" value="export default new Map();">
<input type="hidden" name="project[files][.astro/content.d.ts]" value="declare module &#39;astro:content&#39; {
	interface Render {
		&#39;.mdx&#39;: Promise&lt;{
			Content: import(&#39;astro&#39;).MarkdownInstance&lt;{}&gt;[&#39;Content&#39;];
			headings: import(&#39;astro&#39;).MarkdownHeading[];
			remarkPluginFrontmatter: Record&lt;string, any&gt;;
			components: import(&#39;astro&#39;).MDXInstance&lt;{}&gt;[&#39;components&#39;];
		}&gt;;
	}
}

declare module &#39;astro:content&#39; {
	export interface RenderResult {
		Content: import(&#39;astro/runtime/server/index.js&#39;).AstroComponentFactory;
		headings: import(&#39;astro&#39;).MarkdownHeading[];
		remarkPluginFrontmatter: Record&lt;string, any&gt;;
	}
	interface Render {
		&#39;.md&#39;: Promise&lt;RenderResult&gt;;
	}

	export interface RenderedContent {
		html: string;
		metadata?: {
			imagePaths: Array&lt;string&gt;;
			[key: string]: unknown;
		};
	}
}

declare module &#39;astro:content&#39; {
	type Flatten&lt;T&gt; = T extends { [K: string]: infer U } ? U : never;

	export type CollectionKey = keyof AnyEntryMap;
	export type CollectionEntry&lt;C extends CollectionKey&gt; = Flatten&lt;AnyEntryMap[C]&gt;;

	export type ContentCollectionKey = keyof ContentEntryMap;
	export type DataCollectionKey = keyof DataEntryMap;

	type AllValuesOf&lt;T&gt; = T extends any ? T[keyof T] : never;
	type ValidContentEntrySlug&lt;C extends keyof ContentEntryMap&gt; = AllValuesOf&lt;
		ContentEntryMap[C]
	&gt;[&#39;slug&#39;];

	export type ReferenceDataEntry&lt;
		C extends CollectionKey,
		E extends keyof DataEntryMap[C] = string,
	&gt; = {
		collection: C;
		id: E;
	};
	export type ReferenceContentEntry&lt;
		C extends keyof ContentEntryMap,
		E extends ValidContentEntrySlug&lt;C&gt; | (string &amp; {}) = string,
	&gt; = {
		collection: C;
		slug: E;
	};

	/** @deprecated Use `getEntry` instead. */
	export function getEntryBySlug&lt;
		C extends keyof ContentEntryMap,
		E extends ValidContentEntrySlug&lt;C&gt; | (string &amp; {}),
	&gt;(
		collection: C,
		// Note that this has to accept a regular string too, for SSR
		entrySlug: E,
	): E extends ValidContentEntrySlug&lt;C&gt;
		? Promise&lt;CollectionEntry&lt;C&gt;&gt;
		: Promise&lt;CollectionEntry&lt;C&gt; | undefined&gt;;

	/** @deprecated Use `getEntry` instead. */
	export function getDataEntryById&lt;C extends keyof DataEntryMap, E extends keyof DataEntryMap[C]&gt;(
		collection: C,
		entryId: E,
	): Promise&lt;CollectionEntry&lt;C&gt;&gt;;

	export function getCollection&lt;C extends keyof AnyEntryMap, E extends CollectionEntry&lt;C&gt;&gt;(
		collection: C,
		filter?: (entry: CollectionEntry&lt;C&gt;) =&gt; entry is E,
	): Promise&lt;E[]&gt;;
	export function getCollection&lt;C extends keyof AnyEntryMap&gt;(
		collection: C,
		filter?: (entry: CollectionEntry&lt;C&gt;) =&gt; unknown,
	): Promise&lt;CollectionEntry&lt;C&gt;[]&gt;;

	export function getEntry&lt;
		C extends keyof ContentEntryMap,
		E extends ValidContentEntrySlug&lt;C&gt; | (string &amp; {}),
	&gt;(
		entry: ReferenceContentEntry&lt;C, E&gt;,
	): E extends ValidContentEntrySlug&lt;C&gt;
		? Promise&lt;CollectionEntry&lt;C&gt;&gt;
		: Promise&lt;CollectionEntry&lt;C&gt; | undefined&gt;;
	export function getEntry&lt;
		C extends keyof DataEntryMap,
		E extends keyof DataEntryMap[C] | (string &amp; {}),
	&gt;(
		entry: ReferenceDataEntry&lt;C, E&gt;,
	): E extends keyof DataEntryMap[C]
		? Promise&lt;DataEntryMap[C][E]&gt;
		: Promise&lt;CollectionEntry&lt;C&gt; | undefined&gt;;
	export function getEntry&lt;
		C extends keyof ContentEntryMap,
		E extends ValidContentEntrySlug&lt;C&gt; | (string &amp; {}),
	&gt;(
		collection: C,
		slug: E,
	): E extends ValidContentEntrySlug&lt;C&gt;
		? Promise&lt;CollectionEntry&lt;C&gt;&gt;
		: Promise&lt;CollectionEntry&lt;C&gt; | undefined&gt;;
	export function getEntry&lt;
		C extends keyof DataEntryMap,
		E extends keyof DataEntryMap[C] | (string &amp; {}),
	&gt;(
		collection: C,
		id: E,
	): E extends keyof DataEntryMap[C]
		? string extends keyof DataEntryMap[C]
			? Promise&lt;DataEntryMap[C][E]&gt; | undefined
			: Promise&lt;DataEntryMap[C][E]&gt;
		: Promise&lt;CollectionEntry&lt;C&gt; | undefined&gt;;

	/** Resolve an array of entry references from the same collection */
	export function getEntries&lt;C extends keyof ContentEntryMap&gt;(
		entries: ReferenceContentEntry&lt;C, ValidContentEntrySlug&lt;C&gt;&gt;[],
	): Promise&lt;CollectionEntry&lt;C&gt;[]&gt;;
	export function getEntries&lt;C extends keyof DataEntryMap&gt;(
		entries: ReferenceDataEntry&lt;C, keyof DataEntryMap[C]&gt;[],
	): Promise&lt;CollectionEntry&lt;C&gt;[]&gt;;

	export function render&lt;C extends keyof AnyEntryMap&gt;(
		entry: AnyEntryMap[C][string],
	): Promise&lt;RenderResult&gt;;

	export function reference&lt;C extends keyof AnyEntryMap&gt;(
		collection: C,
	): import(&#39;astro/zod&#39;).ZodEffects&lt;
		import(&#39;astro/zod&#39;).ZodString,
		C extends keyof ContentEntryMap
			? ReferenceContentEntry&lt;C, ValidContentEntrySlug&lt;C&gt;&gt;
			: ReferenceDataEntry&lt;C, keyof DataEntryMap[C]&gt;
	&gt;;
	// Allow generic `string` to avoid excessive type errors in the config
	// if `dev` is not running to update as you edit.
	// Invalid collection names will be caught at build time.
	export function reference&lt;C extends string&gt;(
		collection: C,
	): import(&#39;astro/zod&#39;).ZodEffects&lt;import(&#39;astro/zod&#39;).ZodString, never&gt;;

	type ReturnTypeOrOriginal&lt;T&gt; = T extends (...args: any[]) =&gt; infer R ? R : T;
	type InferEntrySchema&lt;C extends keyof AnyEntryMap&gt; = import(&#39;astro/zod&#39;).infer&lt;
		ReturnTypeOrOriginal&lt;Required&lt;ContentConfig[&#39;collections&#39;][C]&gt;[&#39;schema&#39;]&gt;
	&gt;;

	type ContentEntryMap = {
		
	};

	type DataEntryMap = {
		&quot;blog&quot;: Record&lt;string, {
  id: string;
  body?: string;
  collection: &quot;blog&quot;;
  data: InferEntrySchema&lt;&quot;blog&quot;&gt;;
  rendered?: RenderedContent;
  filePath?: string;
}&gt;;

	};

	type AnyEntryMap = ContentEntryMap &amp; DataEntryMap;

	export type ContentConfig = typeof import(&quot;../src/content.config.js&quot;);
}
">
<input type="hidden" name="project[files][.astro/types.d.ts]" value="/// &lt;reference types=&quot;astro/client&quot; /&gt;
/// &lt;reference path=&quot;content.d.ts&quot; /&gt;">
<input type="hidden" name="project[files][src/consts.ts]" value="// Place any global data in this file.
// You can import this data from anywhere in your site by using the `import` keyword.

export const SITE_TITLE = &quot;Astro Blog&quot;;
export const SITE_DESCRIPTION = &quot;Welcome to my website!&quot;;
">
<input type="hidden" name="project[files][src/content.config.ts]" value="import { glob } from &quot;astro/loaders&quot;;
import { defineCollection, z } from &quot;astro:content&quot;;

const blog = defineCollection({
	// Load Markdown and MDX files in the `src/content/blog/` directory.
	loader: glob({ base: &quot;./src/content/blog&quot;, pattern: &quot;**/*.{md,mdx}&quot; }),
	// Type-check frontmatter using a schema
	schema: ({ image }) =&gt;
		z.object({
			description: z.string(),
			heroImage: image().optional(),
			// Transform string to Date object
			pubDate: z.coerce.date(),
			title: z.string(),
			updatedDate: z.coerce.date().optional(),
		}),
});

export const collections = { blog };
">
<input type="hidden" name="project[files][.astro/collections/blog.schema.json]" value="{
  &quot;$ref&quot;: &quot;#/definitions/blog&quot;,
  &quot;definitions&quot;: {
    &quot;blog&quot;: {
      &quot;type&quot;: &quot;object&quot;,
      &quot;properties&quot;: {
        &quot;description&quot;: {
          &quot;type&quot;: &quot;string&quot;
        },
        &quot;heroImage&quot;: {
          &quot;type&quot;: &quot;string&quot;
        },
        &quot;pubDate&quot;: {
          &quot;anyOf&quot;: [
            {
              &quot;type&quot;: &quot;string&quot;,
              &quot;format&quot;: &quot;date-time&quot;
            },
            {
              &quot;type&quot;: &quot;string&quot;,
              &quot;format&quot;: &quot;date&quot;
            },
            {
              &quot;type&quot;: &quot;integer&quot;,
              &quot;format&quot;: &quot;unix-time&quot;
            }
          ]
        },
        &quot;title&quot;: {
          &quot;type&quot;: &quot;string&quot;
        },
        &quot;updatedDate&quot;: {
          &quot;anyOf&quot;: [
            {
              &quot;type&quot;: &quot;string&quot;,
              &quot;format&quot;: &quot;date-time&quot;
            },
            {
              &quot;type&quot;: &quot;string&quot;,
              &quot;format&quot;: &quot;date&quot;
            },
            {
              &quot;type&quot;: &quot;integer&quot;,
              &quot;format&quot;: &quot;unix-time&quot;
            }
          ]
        },
        &quot;$schema&quot;: {
          &quot;type&quot;: &quot;string&quot;
        }
      },
      &quot;required&quot;: [
        &quot;description&quot;,
        &quot;pubDate&quot;,
        &quot;title&quot;
      ],
      &quot;additionalProperties&quot;: false
    }
  },
  &quot;$schema&quot;: &quot;http://json-schema.org/draft-07/schema#&quot;
}">
<input type="hidden" name="project[files][src/components/BaseHead.astro]" value="---
// Import the global.css file here so that it is included on
// all pages through the use of the &lt;BaseHead /&gt; component.
import type { ImageMetadata } from &quot;astro&quot;;

import { SITE_TITLE } from &quot;../consts&quot;;
import &quot;../styles/global.css&quot;;

interface Props {
	description: string;
	image?: ImageMetadata;
	title: string;
}

const canonicalURL = new URL(Astro.url.pathname, Astro.site);

const { description, title } = Astro.props;
---

&lt;!-- Global Metadata --&gt;
&lt;meta charset=&quot;utf-8&quot; /&gt;
&lt;meta content=&quot;width=device-width,initial-scale=1&quot; name=&quot;viewport&quot; /&gt;
&lt;link href=&quot;/favicon.svg&quot; rel=&quot;icon&quot; type=&quot;image/svg+xml&quot; /&gt;
&lt;link href=&quot;/sitemap-index.xml&quot; rel=&quot;sitemap&quot; /&gt;
&lt;link
	href={new URL(&quot;rss.xml&quot;, Astro.site)}
	rel=&quot;alternate&quot;
	title={SITE_TITLE}
	type=&quot;application/rss+xml&quot;
/&gt;
&lt;meta content={Astro.generator} name=&quot;generator&quot; /&gt;

&lt;!-- Font preloads --&gt;
&lt;link
	as=&quot;font&quot;
	crossorigin
	href=&quot;/fonts/atkinson-regular.woff&quot;
	rel=&quot;preload&quot;
	type=&quot;font/woff&quot;
/&gt;
&lt;link
	as=&quot;font&quot;
	crossorigin
	href=&quot;/fonts/atkinson-bold.woff&quot;
	rel=&quot;preload&quot;
	type=&quot;font/woff&quot;
/&gt;

&lt;!-- Canonical URL --&gt;
&lt;link href={canonicalURL} rel=&quot;canonical&quot; /&gt;

&lt;!-- Primary Meta Tags --&gt;
&lt;title&gt;{title}&lt;/title&gt;
&lt;meta content={title} name=&quot;title&quot; /&gt;
&lt;meta content={description} name=&quot;description&quot; /&gt;

&lt;!-- Open Graph / Facebook --&gt;
&lt;meta content=&quot;website&quot; property=&quot;og:type&quot; /&gt;
&lt;meta content={Astro.url} property=&quot;og:url&quot; /&gt;
&lt;meta content={title} property=&quot;og:title&quot; /&gt;
&lt;meta content={description} property=&quot;og:description&quot; /&gt;

&lt;!-- Twitter --&gt;
&lt;meta content=&quot;summary_large_image&quot; property=&quot;twitter:card&quot; /&gt;
&lt;meta content={Astro.url} property=&quot;twitter:url&quot; /&gt;
&lt;meta content={title} property=&quot;twitter:title&quot; /&gt;
&lt;meta content={description} property=&quot;twitter:description&quot; /&gt;
">
<input type="hidden" name="project[files][src/components/Footer.astro]" value="&lt;footer&gt;
	&amp;copy; {new Date().getFullYear()} Stephan Randle. All rights reserved.
	&lt;div class=&quot;social-links&quot;&gt;
		&lt;a
			href=&quot;https://github.com/stephansama/packages/tree/main/core/remark-asciinema&quot;
			target=&quot;_blank&quot;
		&gt;
			&lt;span class=&quot;sr-only&quot;&gt;Go to Astro&#39;s GitHub repo&lt;/span&gt;
			&lt;svg
				aria-hidden=&quot;true&quot;
				astro-icon=&quot;social/github&quot;
				height=&quot;32&quot;
				viewBox=&quot;0 0 16 16&quot;
				width=&quot;32&quot;
				&gt;&lt;path
					d=&quot;M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z&quot;
					fill=&quot;currentColor&quot;&gt;&lt;/path&gt;&lt;/svg
			&gt;
		&lt;/a&gt;
	&lt;/div&gt;
&lt;/footer&gt;
&lt;style&gt;
	footer {
		padding: 2em 1em 6em 1em;
		background: linear-gradient(var(--gray-gradient)) no-repeat;
		color: rgb(var(--gray));
		text-align: center;
	}
	.social-links {
		display: flex;
		justify-content: center;
		gap: 1em;
		margin-top: 1em;
	}
	.social-links a {
		text-decoration: none;
		color: rgb(var(--gray));
	}
	.social-links a:hover {
		color: rgb(var(--gray-dark));
	}
&lt;/style&gt;
">
<input type="hidden" name="project[files][src/components/Header.astro]" value="---
import { SITE_TITLE } from &quot;../consts&quot;;
import HeaderLink from &quot;./HeaderLink.astro&quot;;
---

&lt;header&gt;
	&lt;nav&gt;
		&lt;h2&gt;&lt;a href=&quot;/&quot;&gt;{SITE_TITLE}&lt;/a&gt;&lt;/h2&gt;
		&lt;div class=&quot;internal-links&quot;&gt;
			&lt;HeaderLink href=&quot;/&quot;&gt;Home&lt;/HeaderLink&gt;
		&lt;/div&gt;
		&lt;div class=&quot;social-links&quot;&gt;
			&lt;a href=&quot;https://github.com/withastro/astro&quot; target=&quot;_blank&quot;&gt;
				&lt;span class=&quot;sr-only&quot;&gt;Go to Astro&#39;s GitHub repo&lt;/span&gt;
			&lt;/a&gt;
		&lt;/div&gt;
	&lt;/nav&gt;
&lt;/header&gt;
&lt;style&gt;
	header {
		margin: 0;
		padding: 0 1em;
		background: white;
		box-shadow: 0 2px 8px rgba(var(--black), 5%);
	}
	h2 {
		margin: 0;
		font-size: 1em;
	}

	h2 a,
	h2 a.active {
		text-decoration: none;
	}
	nav {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	nav a {
		padding: 1em 0.5em;
		color: var(--black);
		border-bottom: 4px solid transparent;
		text-decoration: none;
	}
	nav a.active {
		text-decoration: none;
		border-bottom-color: var(--accent);
	}
	.social-links,
	.social-links a {
		display: flex;
	}
	@media (max-width: 720px) {
		.social-links {
			display: none;
		}
	}
&lt;/style&gt;
">
<input type="hidden" name="project[files][src/components/HeaderLink.astro]" value="---
import type { HTMLAttributes } from &quot;astro/types&quot;;

type Props = HTMLAttributes&lt;&quot;a&quot;&gt;;

const { class: className, href, ...props } = Astro.props;
const pathname = Astro.url.pathname.replace(import.meta.env.BASE_URL, &quot;&quot;);
const subpath = pathname.match(/[^\\/]+/g);
const isActive = href === pathname || href === &quot;/&quot; + (subpath?.[0] || &quot;&quot;);
---

&lt;a class:list={[className, { active: isActive }]} href={href} {...props}&gt;
	&lt;slot /&gt;
&lt;/a&gt;
&lt;style&gt;
	a {
		display: inline-block;
		text-decoration: none;
	}
	a.active {
		font-weight: bolder;
		text-decoration: underline;
	}
&lt;/style&gt;
">
<input type="hidden" name="project[files][src/styles/global.css]" value="/*
  The CSS in this style tag is based off of Bear Blog&#39;s default CSS.
  https://github.com/HermanMartinus/bearblog/blob/297026a877bc2ab2b3bdfbd6b9f7961c350917dd/templates/styles/blog/default.css
  License MIT: https://github.com/HermanMartinus/bearblog/blob/master/LICENSE.md
 */

:root {
	--accent: #2337ff;
	--accent-dark: #000d8a;
	--black: 15, 18, 25;
	--gray: 96, 115, 159;
	--gray-light: 229, 233, 240;
	--gray-dark: 34, 41, 57;
	--gray-gradient: rgba(var(--gray-light), 50%), #fff;
	--box-shadow:
		0 2px 6px rgba(var(--gray), 25%), 0 8px 24px rgba(var(--gray), 33%),
		0 16px 32px rgba(var(--gray), 33%);
}
@font-face {
	font-family: &quot;Atkinson&quot;;
	src: url(&quot;/fonts/atkinson-regular.woff&quot;) format(&quot;woff&quot;);
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: &quot;Atkinson&quot;;
	src: url(&quot;/fonts/atkinson-bold.woff&quot;) format(&quot;woff&quot;);
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
body {
	font-family: &quot;Atkinson&quot;, sans-serif;
	margin: 0;
	padding: 0;
	text-align: left;
	background: linear-gradient(var(--gray-gradient)) no-repeat;
	background-size: 100% 600px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	color: rgb(var(--gray-dark));
	font-size: 20px;
	line-height: 1.7;
}
main {
	width: 720px;
	max-width: calc(100% - 2em);
	margin: auto;
	padding: 3em 1em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5rem 0;
	color: rgb(var(--black));
	line-height: 1.2;
}
h1 {
	font-size: 3.052em;
}
h2 {
	font-size: 2.441em;
}
h3 {
	font-size: 1.953em;
}
h4 {
	font-size: 1.563em;
}
h5 {
	font-size: 1.25em;
}
strong,
b {
	font-weight: 700;
}
a {
	color: var(--accent);
}
a:hover {
	color: var(--accent);
}
p {
	margin-bottom: 1em;
}
.prose p {
	margin-bottom: 2em;
}
textarea {
	width: 100%;
	font-size: 16px;
}
input {
	font-size: 16px;
}
table {
	width: 100%;
}
img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}
code {
	padding: 2px 5px;
	background-color: rgb(var(--gray-light));
	border-radius: 2px;
}
pre {
	padding: 1.5em;
	border-radius: 8px;
}
pre &gt; code {
	all: unset;
}
blockquote {
	border-left: 4px solid var(--accent);
	padding: 0 0 0 20px;
	margin: 0px;
	font-size: 1.333em;
}
hr {
	border: none;
	border-top: 1px solid rgb(var(--gray-light));
}
@media (max-width: 720px) {
	body {
		font-size: 18px;
	}
	main {
		padding: 1em;
	}
}

.sr-only {
	border: 0;
	padding: 0;
	margin: 0;
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	/* IE6, IE7 - a 0 height clip, off to the bottom right of the visible 1px box */
	clip: rect(1px 1px 1px 1px);
	/* maybe deprecated but we need to support legacy browsers */
	clip: rect(1px, 1px, 1px, 1px);
	/* modern browsers, clip-path works inwards from each corner */
	clip-path: inset(50%);
	/* added line to stop words getting smushed together (as they go onto separate lines and some screen readers do not understand line feeds as a space */
	white-space: nowrap;
}
">
<input type="hidden" name="project[files][src/pages/index.astro]" value="---
import BaseHead from &quot;../components/BaseHead.astro&quot;;
import Footer from &quot;../components/Footer.astro&quot;;
import Header from &quot;../components/Header.astro&quot;;
import { SITE_DESCRIPTION, SITE_TITLE } from &quot;../consts&quot;;
import { Content as Article } from &quot;../content/blog/first-post.md&quot;;
---

&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot;&gt;
	&lt;head&gt;
		&lt;BaseHead description={SITE_DESCRIPTION} title={SITE_TITLE} /&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;Header /&gt;
		&lt;main&gt;
			&lt;h1&gt;🧑‍🚀 Hello, Astronaut!&lt;/h1&gt;
			&lt;Article /&gt;
		&lt;/main&gt;
		&lt;Footer /&gt;
	&lt;/body&gt;
&lt;/html&gt;
">
<input type="hidden" name="project[files][src/content/blog/first-post.md]" value="---
title: &quot;First post&quot;
description: &quot;Lorem ipsum dolor sit amet&quot;
pubDate: &quot;Jul 08 2022&quot;
heroImage: &quot;https://picsum.photos/1200/300&quot;
---

&lt;https://asciinema.org/a/ddUZ6Icj09rgjrqhprGccnRyg&gt;

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet.

Morbi tristique senectus et netus. Id semper risus in hendrerit gravida rutrum quisque non tellus. Habitasse platea dictumst quisque sagittis purus sit amet. Tellus molestie nunc non blandit massa. Cursus vitae congue mauris rhoncus. Accumsan tortor posuere ac ut. Fringilla urna porttitor rhoncus dolor. Elit ullamcorper dignissim cras tincidunt lobortis. In cursus turpis massa tincidunt dui ut ornare lectus. Integer feugiat scelerisque varius morbi enim nunc. Bibendum neque egestas congue quisque egestas diam. Cras ornare arcu dui vivamus arcu felis bibendum. Dignissim suspendisse in est ante in nibh mauris. Sed tempus urna et pharetra pharetra massa massa ultricies mi.

Mollis nunc sed id semper risus in. Convallis a cras semper auctor neque. Diam sit amet nisl suscipit. Lacus viverra vitae congue eu consequat ac felis donec. Egestas integer eget aliquet nibh praesent tristique magna sit amet. Eget magna fermentum iaculis eu non diam. In vitae turpis massa sed elementum. Tristique et egestas quis ipsum suspendisse ultrices. Eget lorem dolor sed viverra ipsum. Vel turpis nunc eget lorem dolor sed viverra. Posuere ac ut consequat semper viverra nam. Laoreet suspendisse interdum consectetur libero id faucibus. Diam phasellus vestibulum lorem sed risus ultricies tristique. Rhoncus dolor purus non enim praesent elementum facilisis. Ultrices tincidunt arcu non sodales neque. Tempus egestas sed sed risus pretium quam vulputate. Viverra suspendisse potenti nullam ac tortor vitae purus faucibus ornare. Fringilla urna porttitor rhoncus dolor purus non. Amet dictum sit amet justo donec enim.

Mattis ullamcorper velit sed ullamcorper morbi tincidunt. Tortor posuere ac ut consequat semper viverra. Tellus mauris a diam maecenas sed enim ut sem viverra. Venenatis urna cursus eget nunc scelerisque viverra mauris in. Arcu ac tortor dignissim convallis aenean et tortor at. Curabitur gravida arcu ac tortor dignissim convallis aenean et tortor. Egestas tellus rutrum tellus pellentesque eu. Fusce ut placerat orci nulla pellentesque dignissim enim sit amet. Ut enim blandit volutpat maecenas volutpat blandit aliquam etiam. Id donec ultrices tincidunt arcu. Id cursus metus aliquam eleifend mi.

Tempus quam pellentesque nec nam aliquam sem. Risus at ultrices mi tempus imperdiet. Id porta nibh venenatis cras sed felis eget velit. Ipsum a arcu cursus vitae. Facilisis magna etiam tempor orci eu lobortis elementum. Tincidunt dui ut ornare lectus sit. Quisque non tellus orci ac. Blandit libero volutpat sed cras. Nec tincidunt praesent semper feugiat nibh sed pulvinar proin gravida. Egestas integer eget aliquet nibh praesent tristique magna.
">
<input type="hidden" name="project[description]" value="generated by https://pkg.pr.new">
<input type="hidden" name="project[template]" value="node">
<input type="hidden" name="project[title]" value="@example/remark-asciinema">
</form>
<script>document.getElementById("mainForm").submit();</script>

</body></html>