#I have use .mdx and below is my astro.config.mjs I am using gfm inside .mdx also with shiki
2 messages · Page 1 of 1 (latest)
Astro allows you to style your Markdown content using various methods. You can apply global styles to your Markdown content by adding imported stylesheets to the layout that wraps your page content. It is also possible to style your Markdown with <style is:global> tags in the layout component. Note that any styles added are subject to Astro’s cascading order, and you should check your rendered page carefully to ensure your styles are being applied as intended. You can also add CSS integrations including Tailwind. If you are using Tailwind, the typography plugin can be useful for styling Markdown (source (https://docs.astro.build/en/guides/styling#markdown-styling)).
However, the provided extracts do not contain specific information on how to style task lists in Markdown or MDX files. You might need to use CSS or a JavaScript framework to target the task list items and apply the desired styles.