Blog

How to assign class names to inline code elements in Markdown

Many blogs use inline code blocks to highlight keywords. In Markdown, the styling of these inline code blocks is limited. They all look the same. In this article, I will show you how to write a plugin that lets you assign different class names to inline code elements in Markdown.

  • astro
  • markdown
  • remark

How to generate a table of contents in Astro from Markdown headings

Astro is a static site generator that allows you to write your content in Markdown. When you write a long blog post, you might want to add a table of contents to help your readers navigate the content.

  • astro
  • markdown
  • remark

How to use the first paragraph of your Markdown as the description in Astro

Astro is a static site generator that allows you to write your content in Markdown. When you share your blog post on social media or list your posts on your website, you want to have a description of your post.

  • astro
  • markdown
  • remark