Markdoc extends the markdown syntax you know and love to offer you authoring superpowers... 💪.
Tags are the heart of Markdoc system. You can use native Markdoc tags, like tables(example below), conditionals, and partials...
Table in Markdoc
Foo | Bar | Baz |
---|---|---|
puts "Some code here." | Text in a table | |
A "loose" list with multiple line items | Test 2 | Test 3 |
Test 1 | A cell that spans two columns |
or create custom components.
Tags available out of Ink
Astro Ink ships with the following tags with more coming soon...
Callout
Note
title goes here...
lorem ipsum doler sit amet lorem
Error
title goes here...
lorem ipsum doler sit amet
Warning
title goes here...
lorem ipsum doler sit amet
Check
title goes here...
lorem ipsum doler sit amet
Link
Go to blog
Tweet Embed
Tabs
tab1
...more tags coming soon!
Functions (from official example)
¡Hola 🇪🇸!