Skip to content

Commit

Permalink
mh-setting up a template
Browse files Browse the repository at this point in the history
  • Loading branch information
melissahenderson committed Sep 21, 2023
1 parent f216b81 commit 5a854a3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions docs/src/content/docs/introduction/template.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Template - Melissa
description: A thing Melissa is working on
---

import Disclosure from '/src/components/docs/Disclosure'

Use the `<Disclosure>` component within your content like so:

```jsx
<Disclosure toggleText='Show code snippets' client:load>
<!-- Your content, can be markup or markdown -->
</Disclosure>
```
2 changes: 1 addition & 1 deletion docs/src/env.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/* eslint-disable @typescript-eslint/triple-slash-reference */
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />
/// <reference types="astro/client-image" />

0 comments on commit 5a854a3

Please sign in to comment.