computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
431 B
19 lines
431 B
--- |
|
import { Debug } from 'astro/components'; |
|
import { markdownToHtml } from '../lib/markdown'; |
|
|
|
export interface Props { |
|
text: string; |
|
} |
|
|
|
const { text } = Astro.props; |
|
--- |
|
|
|
<div class='bg-gray-50'> |
|
<div class='container pt-1'> |
|
<p |
|
class='text-sm bg-yellow-100 text-yellow-900 p-2 rounded-md mt-2 sm:mt-5 mb-0 sm:-mb-6 z-10 relative [&>a]:underline' |
|
set:html={markdownToHtml(text.trim())} |
|
/> |
|
</div> |
|
</div>
|
|
|