Astroのマークダウンに関するメモ
h1
this is head1

h2
this is head2
<?php
function hoge(sring $a){
}h3
Astro has built-in support for markdown pages! All frontmatter data will be available via Astro.glob imports as well, making blog landing pages easy to build.
Code challenge: Try editing the title frontmatter property for this post and visiting the homepage again.
Code block demo
// Oh, and get Shiki syntax highlighting out-of-the-box!
// See our docs for customization options:
// https://docs.astro.build/en/guides/markdown-content/#syntax-highlighting
function getDistance(amount: number) {
if (amount === Infinity) {
return "and beyond!";
} else {
return "and the normal distance!";
}
}