generated from inherentlee/11ty
Update content through Mattrbld
This commit is contained in:
61
src/index.md
Normal file
61
src/index.md
Normal file
@ -0,0 +1,61 @@
|
||||
---
|
||||
title: This is my home page
|
||||
hero:
|
||||
src: /src/images/dscf-3866.JPG
|
||||
alt: chickadee
|
||||
title: null
|
||||
___mb_schema: /.mattrbld/schemas/page.json
|
||||
---
|
||||
## Here’s an h2
|
||||
|
||||
This is a paragraph.
|
||||
|
||||
This is another paragraph. It might be a bit longer.
|
||||
|
||||
- Here’s a list.
|
||||
|
||||
- It’s nice, the editor automatically turns dashes into lists
|
||||
|
||||
|
||||
And I can double-enter to get out of the list.
|
||||
|
||||
### Here’s an h3
|
||||
|
||||
Similarly, the editor understands markdown notation for headings. That’s really handy. I also like that I can prevent editors from creating h1s (or h5/h6, who needs those).
|
||||
|
||||
#### Let’s do some formatting
|
||||
|
||||
*Italics.* **Bold!** ***Bold and italic.*** There’s even ~~strikethrough~~.
|
||||
|
||||
Inline `code blocks` work as well, though they don’t pick up on markdown formatting.
|
||||
|
||||
> Blockquotes work like this.
|
||||
|
||||
Let’s add a link. Here’s my [website](https://leecat.art). They let you choose internal vs. external. Annoyingly, in the rich text editor links are only distinguishable via color, so that’s a bit of an accessibility fail.
|
||||
|
||||
## Let’s do more with lists
|
||||
|
||||
1. Here’s an ordered list
|
||||
|
||||
1. it has a nested ordered list inside of it!
|
||||
|
||||
2. How fancy.
|
||||
|
||||
2. You can of course tab and shift+tab to change your list level.
|
||||
|
||||
|
||||
---
|
||||
|
||||
We’ve got some lovely horizontal rules as well.
|
||||
|
||||
## Markdown attrs plugin
|
||||
|
||||
Now, let’s see if our markdown attributes feature works. Here’s my [website again](https://leecat.art){rel=”external”}. I suspect the smart quotes will cause issues! So that may not work.
|
||||
|
||||
## Images
|
||||
|
||||

|
||||
|
||||
We’ve added an image above. I tried to add alt text, but I’m not sure that Eleventy will pick up on that.
|
||||
|
||||
Ok, let’s push this and see what we get.
|
||||
Reference in New Issue
Block a user