Reddit Spoiler Markdown

Developer
Size
2,077 Kb
Views
54,648

How do I make an reddit spoiler markdown?

What is a reddit spoiler markdown? How do you make a reddit spoiler markdown? This script and codes were developed by Steven on 31 July 2022, Sunday.

Reddit Spoiler Markdown Previews

Reddit Spoiler Markdown - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Reddit Spoiler Markdown</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body style="background: rgba(80, 80, 80, .5)">
With given CSS<br>Reddit markdown of<br><br>
[] (#s "Spoiler Filled Text")
<br><br>
Results in HTML markup of<br><br>
&lt;div class="md"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;p>&lt;a href="#s" title="Spoiler Filled Text">&lt;/a>&lt;/p><br>
&lt;/div>
<br><br>
Which formats as
<div class="md"> <p><a href="#s" title="Spoiler Filled Text"></a></p>
</div>
</body> <script src="js/index.js"></script>
</body>
</html>

Reddit Spoiler Markdown - Script Codes CSS Codes

a[href="#s"],
.md p > a[href="#s"] {	text-decoration: none !important;	cursor: default;	background: #000;	color: #fff !important;	display: inline-block;
}
a[href="#s"]::after,
.md p > a[href="#s"]::after {	content: attr(title);	color: #000;	padding: 0 0.5em;	visibility: visible;
}
a[href="#s"]:hover,
.md p > a[href="#s"]:hover {	color: #fff !important;
}
a[href="#s"]:hover::after,
a[href="#s"]:active::after,
.md p > a[href="#s"]:hover::after,
.md p > a[href="#s"]:active::after {	color: #fff;
}

Reddit Spoiler Markdown - Script Codes JS Codes

function rot13(str) { // LBH QVQ VG! return str.replace(/\w/g, function(match) { var chrCode = match.charCodeAt(0); //Magic Numbers. Wraps around capital letter ascii codes. var offset = (chrCode >= 78) ? chrCode : 90 + chrCode - 64; return String.fromCharCode(offset-13); });
}
// Change the inputs below to test
console.log(rot13("FERR PBQR PNZC"));
Reddit Spoiler Markdown - Script Codes
Reddit Spoiler Markdown - Script Codes
Home Page Home
Developer Steven
Username volv
Uploaded July 31, 2022
Rating 3
Size 2,077 Kb
Views 54,648
Do you need developer help for Reddit Spoiler Markdown?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Steven (volv) Script Codes
Create amazing web content with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!