Markdown
Markdown
lets you write markdown in .astro
files. If you’re an avid markdown user, you’ll love this component.
-->
Markdown
lets you write markdown in .astro
files. If you’re an avid markdown user, you’ll love this component.
No need to manually add <p>
tags or convert apostrophes into quotes. Markdown
does this for you automatically.
Don’t worry, be happy!
Markdown
supports the standard Markdown syntax you expect.
If you write Markdown
content with a new line between paragaphs, you will get <p>
tags along with the bells and whistles you added.
And this is a paragraph with some bold text and italics.
Your content won’t be converted into <pre>
tags even if you indent 4 spaces or more. Just make sure they start with the same indentation!
And this is a paragraph with some bold text and italics.
Markdown
gives you the ability to write markdown in an .astro
file.
You can write markdown content inside this component.
If you want Markdown
to create content without a <p>
wrapper, write your content in Markdown
without a new line.
Hello world
If you use Prettier, you’ll need to ignore the Markdown block because Prettier tends to mangle markdown content — causing them to be incorrect.
Hello world
Splendid Labz is free because we love developers and we want to contribute back to the ecosystem.
We only charge for access to the documentation to keep the project going. If you don't wish to pay, feel free to use the content from the features tab, our blogs or our videos as your guide.
Markdown
gives you the ability to write markdown in an .astro
file.
You can write markdown content inside this component.
If you want Markdown
to create content without a <p>
wrapper, write your content in Markdown
without a new line.
Hello world
If you use Prettier, you’ll need to ignore the Markdown block because Prettier tends to mangle markdown content — causing them to be incorrect.
Hello world
Prettier messes up the <!-- prettier-ignore -->
block if you have unicode characters like emojis and emdashes before the block.
Hello world
This issue unfortunately stems from Astro or Prettier’s formatter and there’s nothing we can do about it.
You can, however, avoid this issue by using HTML entities (like —
) instead of their unicode characters. (Nothing we can do about emojis though).
Splendid Labz is free because we love developers and we want to contribute back to the ecosystem.
We only charge for access to the documentation to keep the project going. If you don't wish to pay, feel free to use the content from the features tab, our blogs or our videos as your guide.
Prettier messes up the <!-- prettier-ignore -->
block if you have unicode characters like emojis and emdashes before the block.
Hello world
This issue unfortunately stems from Astro or Prettier’s formatter and there’s nothing we can do about it.
You can, however, avoid this issue by using HTML entities (like —
) instead of their unicode characters. (Nothing we can do about emojis though).