Skip to content

Instantly share code, notes, and snippets.

@MagnificentPako
Created April 12, 2018 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MagnificentPako/8251f6021196feca5e9acd346d12c3e9 to your computer and use it in GitHub Desktop.
Save MagnificentPako/8251f6021196feca5e9acd346d12c3e9 to your computer and use it in GitHub Desktop.
๐Ÿ“ฆ http ๐Ÿ”ด
๐Ÿ“ฆ files ๐Ÿ”ด
๐Ÿ ๐Ÿ‡
๐Ÿฎ srv ๐Ÿ”ท๐Ÿ€๐Ÿ†•
๐Ÿƒsrv ๐Ÿ”คlocalhost๐Ÿ”ค 1234 ๐Ÿ‡ raw_path๐Ÿ”ก โžก ๐Ÿ”ก
๐Ÿฎpath ๐Ÿ”ชraw_path 1 ๐Ÿ“raw_path
๐ŸŠ๐Ÿ˜›path ๐Ÿ”ค๐Ÿ”ค ๐Ÿ‡
๐Ÿฎpath ๐Ÿ”คindex๐Ÿ”ค
๐Ÿ‰
๐Ÿฎpath ๐Ÿชpath ๐Ÿ”ค.md๐Ÿ”ค๐Ÿช
๐ŸŠ ๐Ÿฉ๐Ÿ“œ๐Ÿ“‘ path ๐Ÿ‡
๐Ÿฅ‘ fileData ๐Ÿฉ๐Ÿ“‡๐Ÿ“„ path ๐Ÿ‡
๐ŸŠ๐Ÿฆcontent ๐Ÿ”กfileData ๐Ÿ‡
๐Ÿฎescaped ๐Ÿ”ท๐Ÿ”ก๐Ÿจ ๐Ÿ”ซcontent ๐Ÿ”ค&๐Ÿ”ค ๐Ÿ”ค&๐Ÿ”ค
๐Ÿฎescaped ๐Ÿ”ท๐Ÿ”ก๐Ÿจ ๐Ÿ”ซescaped ๐Ÿ”ค<๐Ÿ”ค ๐Ÿ”ค&lt;๐Ÿ”ค
๐Ÿฎescaped ๐Ÿ”ท๐Ÿ”ก๐Ÿจ ๐Ÿ”ซescaped ๐Ÿ”ค<๐Ÿ”ค ๐Ÿ”ค&gt;๐Ÿ”ค
๐Ÿฎescaped ๐Ÿ”ท๐Ÿ”ก๐Ÿจ ๐Ÿ”ซescaped ๐Ÿ”ค"๐Ÿ”ค ๐Ÿ”ค&quot;๐Ÿ”ค
๐Ÿฎescaped ๐Ÿ”ท๐Ÿ”ก๐Ÿจ ๐Ÿ”ซescaped ๐Ÿ”คโŒn๐Ÿ”ค ๐Ÿ”ค\n๐Ÿ”ค
๐ŸŽ๐Ÿช
๐Ÿ”ค<html>
<head>
<meta charset="utf8">
<link rel="stylesheet" href="https://unpkg.com/markdown-retro@0.0.1/css/retro.css">
</head>
<body>
<div id="content"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.8.6/showdown.min.js"></script>
<script>
var converter = new showdown.Converter(),
text = "๐Ÿ”ค escaped ๐Ÿ”ค",
html = converter.makeHtml(text);
document.getElementById("content").innerHTML = html;
console.log(html);
</script>
</body>
</html>๐Ÿ”ค
๐Ÿช
๐Ÿ‰๐Ÿ“๐Ÿ‡
๐ŸŽ ๐Ÿ”คOh yes๐Ÿ”ค
๐Ÿ‰
๐Ÿ‰
๐Ÿ“ error ๐Ÿ‡
๐ŸŽ ๐Ÿ”ค๐Ÿ˜ข Could not read file๐Ÿ”ค
๐Ÿ‰
๐Ÿ‰๐Ÿ“๐Ÿ‡
๐ŸŽ ๐Ÿ”คOh no๐Ÿ”ค
๐Ÿ‰
๐Ÿ‰
๐Ÿ‰
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment