Files
mattrbld/src/index.md

1.7 KiB
Raw Blame History

title, hero, ___mb_schema, layout
title hero ___mb_schema layout
This is my home page
src alt title
/images/dscf-3866.JPG chickadee null
/.mattrbld/schemas/page.json index.njk

Heres an h2

This is a paragraph.

This is another paragraph. It might be a bit longer.

  • Heres a list.

  • Its nice, the editor automatically turns dashes into lists

And I can double-enter to get out of the list.

Heres an h3

Similarly, the editor understands markdown notation for headings. Thats really handy. I also like that I can prevent editors from creating h1s (or h5/h6, who needs those).

Lets do some formatting

Italics. Bold! Bold and italic. Theres even strikethrough.

Inline code blocks work as well, though they dont pick up on markdown formatting.

Blockquotes work like this.

Lets add a link. Heres my website. They let you choose internal vs. external. Annoyingly, in the rich text editor links are only distinguishable via color, so thats a bit of an accessibility fail.

Lets do more with lists

  1. Heres 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.


Weve got some lovely horizontal rules as well.

Markdown attrs plugin

Now, lets see if our markdown attributes feature works. Heres my website again{rel=”external”}. I suspect the smart quotes will cause issues! So that may not work.

Images

Weve added an image above. I tried to add alt text, but Im not sure that Eleventy will pick up on that.

Ok, lets push this and see what we get.