ShowdownCSS is a lightweight CSS library designed specifically for styling Markdown content parsed by Showdown. With ShowdownCSS, you can effortlessly enhance your Markdown files with stylish themes and elegant designs, making your content truly stand out. π₯
Features:
Easy Integration: Simply include ShowdownCSS in your project using a CDN link.
Multiple Themes: Choose from a variety of themes or create your own to match your style.
Customizable: Tweak the styles to fit your project's unique aesthetic.
Responsive: Designed to look great on all devices, from desktops to mobile screens.
Wrap your Markdown content in a div with the class .showdowncontainer:
<divclass="showdowncontainer"><!-- Your Markdown content goes here! --></div>
That's it! π Your Markdown content inside .showdowncontainer will now be styled beautifully by ShowdownCSS!
Example:
Here's a quick example of how to use ShowdownCSS:
<!DOCTYPE html><htmllang="en"><head><metacharset="UTF-8"><title>ShowdownCSS Example</title><linkrel="stylesheet"href="https://cdn.jsdelivr.net/gh/SH20RAJ/ShowdownCSS@main/showdown.css"></head><body><divclass="showdowncontainer"><h1>Hello, Markdown! π</h1><p>This is **bold** and this is *italic*.</p><ul><li>Item 1</li><li>Item 2</li><li>Item 3</li></ul><blockquote>This is a blockquote. π£οΈ</blockquote><pre><codeclass="language-javascript">function hello() {
console.log("Hello, World!");
}</code></pre><p>That's it! Your Markdown is now styled! π</p></div></body></html>
Themes:
ShowdownCSS offers a range of themes to choose from, including a default theme and a dark theme. You can easily switch themes by including the respective CSS file.
Default Theme: Automatically applied when you include showdown.css.
Ready to make your Markdown content shine? Get started with ShowdownCSS today! Visit our GitHub repository to learn more, explore the themes, and contribute your own ideas. π
Live Demo:
Check out the live demo on CodePen or visit our GitHub repository to learn more, explore the themes, and contribute your own ideas. π
About the Creator:
ShowdownCSS is created with β€οΈ by Sh Raj. Feel free to reach out on Twitter @sh20raj with any feedback, suggestions, or questions!
Try it Out!
Check out the live demo here to see ShowdownCSS in action!
Let's elevate your Markdown content with ShowdownCSS! πβ¨