Markdown Divs in CoderLegion

posted 1 min read

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

<div class="div-green">
<span class="alert-header">Tip:</span>
<span class="alert-body">Your content here..</span>
Tip: Your content here..
<div class="div-red">
<span class="alert-header">Caution:</span>
<span class="alert-body">Your content here..</span>
Caution: Your content here..
<div class="div-blue">
<span class="alert-header">Note:</span>
<span class="alert-body">Your content here..</span>
Note: Your content here..
<div class="div-faq">
<span class="faq-header">FAQ</span>
<span class="faq-body">Your content here..</span>
FAQ Frequently asked questions and answer will go here...
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

Phantom - Feb 9

Code formatting tests in CoderLegion

Phantom - Aug 26, 2023

Learn Markdown from best and free resources

atulcodex - Apr 16

Program does not contain a static 'main' method suitable for an entry point

Rafael Borges Batist - Feb 23

Setting up Virtual Environment in Python

Tejas Vaij - Apr 20