Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: demo site content fix #65

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ as a `{slug}.html` and make it accessible only via the link directly.
By default marmite includes 3 items in the main menu:

- Pages -> pages.html
- List of posts in chronological order.
- List of pages in alphabetical order.
- Tags -> tags.html
- List of tags and a link to each tag group page.
- Archive -> archive.html
Expand Down
59 changes: 59 additions & 0 deletions example/content/markdown-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,65 @@ Same but containing a tooltip if you hover the mouse on
![Photo](./media/marmite.jpg "A jar of Marmite")
```

### Embed

Just use raw HTML for now, in future we may have a shorcode.

<iframe width="360" height="215" src="https://www.youtube.com/embed/MjrBTcnnK6c?si=PmQWsGiTh5XguSpb" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

```html
<iframe width="360" height="215" src="https://www.youtube.com/embed/MjrBTcnnK6c?si=PmQWsGiTh5XguSpb" title="YouTube video player"></iframe>
```

### Pico CSS components

<small>The default embedded template uses [picocss](https://picocss.com) so it is possible to write raw HTML like this:</small>

#### FAQ

<details>
<summary>Why is it named Marmite?</summary>

The creator of this project was looking for some cool name
to use for a **mark**down related project.
Then while having bread with Marmite spread for breakfast
it looked like a good idea!

</details>

<hr />

<details>
<summary>Why Rust?</summary>

**Why not?**

</details>

<hr />


```html
<details>
<summary>Why is it named Marmite?</summary>

The ...

</details>

<hr />

<details>
<summary>Why Rust?</summary>

**Why not?**

</details>

<hr />

```

### Symbols


Expand Down
29 changes: 0 additions & 29 deletions example/content/second-blog-post.md

This file was deleted.