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>

If you read this far, tweet to the author to show them you care. Tweet a Thanks

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

Handling Errors and Job Lifecycles in Rails 7.1: Mastering `retry_on`, `discard_on`, and `after_discard`

ShahZaib - Nov 24, 2024

How I optimized slow loading time using service workers in frontend

Nikola Perisic - Jan 7
chevron_left