Markdown Divs in CoderLegion

posted 1 min read

Code for different types of Divs to be used are as follows:

Tip:Your content here..

<div class="div-green">
<span class="alert-header">Tip:</span>
<span class="alert-body">Your content here..</span>
</div>

Caution:Your content here..

<div class="div-red">
<span class="alert-header">Caution:</span>
<span class="alert-body">Your content here..</span>
</div>

Note:Your content here..

<div class="div-blue">
<span class="alert-header">Note:</span>
<span class="alert-body">Your content here..</span>
</div>

FAQFrequently asked questions and answer will go here...

<div class="div-faq">
<span class="faq-header">FAQ</span>
<span class="faq-body">Your content here..</span>
</div>

More Posts

Tips and Tricks in article formatting for Coderlegion

James Dayal - Feb 9, 2024

Code formatting in CoderLegion

James Dayal - Aug 26, 2023

Learn Markdown from best and free resources

atulcodex - Apr 16, 2024

How to Add Markdown Preview in an Angular Component

Sunny - Jul 30

Vibe Coding for Enterprises: Can It Truly Scale in 2025?

UpTech Solution - Sep 8
chevron_left