mirror of
https://gitlab.com/thelazyoxymoron/siddhartha-golu-website.git
synced 2025-07-27 04:47:59 +02:00
527 lines
22 KiB
HTML
527 lines
22 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en" dir="auto">
|
||
|
||
<head><meta charset="utf-8">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||
<meta name="robots" content="index, follow">
|
||
<title>Fear | Siddhartha Golu</title>
|
||
<meta name="keywords" content="poetry, writing">
|
||
<meta name="description" content="Check it out on Instagram
|
||
I’m scared.
|
||
No, not because there’s a pandemic going on,
|
||
even though that itself is enough
|
||
to make one lose their mind.
|
||
There’s another deadly virus crawling
|
||
its way into my whole being.
|
||
Slowly eating away at my sanity,
|
||
feasting on my thoughts,
|
||
mutating inside my head as if a colony of ants was given
|
||
an open invitation to a room full of sugary syrup.">
|
||
<meta name="author" content="Siddhartha Golu">
|
||
<link rel="canonical" href="https://www.siddharthagolu.com/posts/scared-in-lockdown/">
|
||
<link crossorigin="anonymous" href="/assets/css/stylesheet.9c9ab0cad25dbfc7a38210ced750b387191bab5eb79ca699d9a694b12f5f9c34.css" integrity="sha256-nJqwytJdv8ejghDO11Czhxkbq163nKaZ2aaUsS9fnDQ=" rel="preload stylesheet" as="style">
|
||
<link rel="icon" href="https://www.siddharthagolu.com/favicon.ico">
|
||
<link rel="icon" type="image/png" sizes="16x16" href="https://www.siddharthagolu.com/favicon-16x16.png">
|
||
<link rel="icon" type="image/png" sizes="32x32" href="https://www.siddharthagolu.com/favicon-32x32.png">
|
||
<link rel="apple-touch-icon" href="https://www.siddharthagolu.com/apple-touch-icon.png">
|
||
<link rel="mask-icon" href="https://www.siddharthagolu.com/safari-pinned-tab.svg">
|
||
<meta name="theme-color" content="#2e2e33">
|
||
<meta name="msapplication-TileColor" content="#2e2e33">
|
||
<noscript>
|
||
<style>
|
||
#theme-toggle,
|
||
.top-link {
|
||
display: none;
|
||
}
|
||
|
||
</style>
|
||
<style>
|
||
@media (prefers-color-scheme: dark) {
|
||
:root {
|
||
--theme: rgb(29, 30, 32);
|
||
--entry: rgb(46, 46, 51);
|
||
--primary: rgb(218, 218, 219);
|
||
--secondary: rgb(155, 156, 157);
|
||
--tertiary: rgb(65, 66, 68);
|
||
--content: rgb(196, 196, 197);
|
||
--code-block-bg: rgb(46, 46, 51);
|
||
--code-bg: rgb(55, 56, 62);
|
||
--border: rgb(51, 51, 51);
|
||
}
|
||
|
||
.list {
|
||
background: var(--theme);
|
||
}
|
||
|
||
.list:not(.dark)::-webkit-scrollbar-track {
|
||
background: 0 0;
|
||
}
|
||
|
||
.list:not(.dark)::-webkit-scrollbar-thumb {
|
||
border-color: var(--theme);
|
||
}
|
||
}
|
||
|
||
</style>
|
||
</noscript><script async defer data-website-id="34ce8dc6-488b-49ee-9a2f-8e70a7009f17" src="https://batman.siddharthagolu.com/batman.js"></script><a rel="me" href="https://fosstodon.org/@thelazyoxymoron" id="mastodon-link"></a>
|
||
<style>
|
||
.mastodon-link {
|
||
display: none;
|
||
}
|
||
</style>
|
||
<meta property="og:title" content="Fear" />
|
||
<meta property="og:description" content="Check it out on Instagram
|
||
I’m scared.
|
||
No, not because there’s a pandemic going on,
|
||
even though that itself is enough
|
||
to make one lose their mind.
|
||
There’s another deadly virus crawling
|
||
its way into my whole being.
|
||
Slowly eating away at my sanity,
|
||
feasting on my thoughts,
|
||
mutating inside my head as if a colony of ants was given
|
||
an open invitation to a room full of sugary syrup." />
|
||
<meta property="og:type" content="article" />
|
||
<meta property="og:url" content="https://www.siddharthagolu.com/posts/scared-in-lockdown/" />
|
||
<meta property="og:image" content="https://www.siddharthagolu.com/images/fear.png" /><meta property="article:section" content="posts" />
|
||
<meta property="article:published_time" content="2020-04-25T23:45:30+05:30" />
|
||
<meta property="article:modified_time" content="2023-06-26T01:09:31+05:30" /><meta property="og:site_name" content="Siddhartha Golu" />
|
||
|
||
<meta name="twitter:card" content="summary_large_image" />
|
||
<meta name="twitter:image" content="https://www.siddharthagolu.com/images/fear.png" />
|
||
<meta name="twitter:title" content="Fear"/>
|
||
<meta name="twitter:description" content="Check it out on Instagram
|
||
I’m scared.
|
||
No, not because there’s a pandemic going on,
|
||
even though that itself is enough
|
||
to make one lose their mind.
|
||
There’s another deadly virus crawling
|
||
its way into my whole being.
|
||
Slowly eating away at my sanity,
|
||
feasting on my thoughts,
|
||
mutating inside my head as if a colony of ants was given
|
||
an open invitation to a room full of sugary syrup."/>
|
||
|
||
|
||
<script type="application/ld+json">
|
||
{
|
||
"@context": "https://schema.org",
|
||
"@type": "BreadcrumbList",
|
||
"itemListElement": [
|
||
{
|
||
"@type": "ListItem",
|
||
"position": 1 ,
|
||
"name": "Posts",
|
||
"item": "https://www.siddharthagolu.com/posts/"
|
||
},
|
||
{
|
||
"@type": "ListItem",
|
||
"position": 2 ,
|
||
"name": "Fear",
|
||
"item": "https://www.siddharthagolu.com/posts/scared-in-lockdown/"
|
||
}
|
||
]
|
||
}
|
||
</script>
|
||
<script type="application/ld+json">
|
||
{
|
||
"@context": "https://schema.org",
|
||
"@type": "BlogPosting",
|
||
"headline": "Fear",
|
||
"name": "Fear",
|
||
"description": "Check it out on Instagram\nI\u0026rsquo;m scared.\nNo, not because there\u0026rsquo;s a pandemic going on,\neven though that itself is enough\nto make one lose their mind.\nThere\u0026rsquo;s another deadly virus crawling\nits way into my whole being.\nSlowly eating away at my sanity,\nfeasting on my thoughts,\nmutating inside my head as if a colony of ants was given\nan open invitation to a room full of sugary syrup.",
|
||
"keywords": [
|
||
"poetry", "writing"
|
||
],
|
||
"articleBody": "Check it out on Instagram\nI’m scared.\nNo, not because there’s a pandemic going on,\neven though that itself is enough\nto make one lose their mind.\nThere’s another deadly virus crawling\nits way into my whole being.\nSlowly eating away at my sanity,\nfeasting on my thoughts,\nmutating inside my head as if a colony of ants was given\nan open invitation to a room full of sugary syrup.\nI’m disintegrating.\nFunny how the same thoughts,\nwho once used to tell me there’s an ocean of possibilities out there;\nare slowly drowning me into the same pool,\nreplacing me, devouring me\nbit-by-bit\nas if my feet are tied with stones of expectations\nand I keep swimming to the bottom, mistaking it for the shore.\nSplash. Splash. Splash.\nI see people making art, saving lives, reading books, writing novels,\ncooking food, running home marathons -\nresolving to turn this gloom into resilient happiness.\nAnd I can’t help but feel disgusted\nat my curled up crying self in the bedroom corner,\nstruggling to tell apart midnight from noon.\nWhen I go to the kitchen to make my first\n(and only) meal of the day,\nthe knife shivers, even though my hands are steady\nit fears for the fingers that are too close to the blunt edge,\nfearing that as the layers of onions come apart, the body holding the knife\nwill shed its pretentious layers as well,\nbaring naked the vast void in the center.\nHow many layers will I have to cut\nbefore I find myself again?\nI’m scared to find out.\nBut there’s hope.\nA distant glimmer at the horizon, but it’s there.\nCounting my breath, one step at a time,\ndragging myself through the dark tunnel,\nfollowing the whisper that says\nit gets better.\nit always does.\nit has to.\nA poem penned down during the Coronavirus pandemic. I see people who are struggling with mental health issues which, I can only imagine, would have exacerbated during these times. Take care of yourself, folks. Don’t forget that you matter. A lot.\n",
|
||
"wordCount" : "343",
|
||
"inLanguage": "en",
|
||
"image":"https://www.siddharthagolu.com/images/fear.png","datePublished": "2020-04-25T23:45:30+05:30",
|
||
"dateModified": "2023-06-26T01:09:31+05:30",
|
||
"author":[{
|
||
"@type": "Person",
|
||
"name": "Siddhartha Golu"
|
||
}],
|
||
"mainEntityOfPage": {
|
||
"@type": "WebPage",
|
||
"@id": "https://www.siddharthagolu.com/posts/scared-in-lockdown/"
|
||
},
|
||
"publisher": {
|
||
"@type": "Organization",
|
||
"name": "Siddhartha Golu",
|
||
"logo": {
|
||
"@type": "ImageObject",
|
||
"url": "https://www.siddharthagolu.com/favicon.ico"
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
</head>
|
||
|
||
<body class="" id="top">
|
||
<script>
|
||
if (localStorage.getItem("pref-theme") === "dark") {
|
||
document.body.classList.add('dark');
|
||
} else if (localStorage.getItem("pref-theme") === "light") {
|
||
document.body.classList.remove('dark')
|
||
} else if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
||
document.body.classList.add('dark');
|
||
}
|
||
|
||
</script>
|
||
|
||
<header class="header">
|
||
<nav class="nav">
|
||
<div class="logo">
|
||
<a href="https://www.siddharthagolu.com/" accesskey="h" title="Siddhartha Golu (Alt + H)">
|
||
<img src="https://www.siddharthagolu.com/apple-touch-icon.png" alt="" aria-label="logo"
|
||
height="30">Siddhartha Golu</a>
|
||
<div class="logo-switches">
|
||
<button id="theme-toggle" accesskey="t" title="(Alt + T)">
|
||
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
|
||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||
stroke-linejoin="round">
|
||
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
|
||
</svg>
|
||
<svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
|
||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
||
stroke-linejoin="round">
|
||
<circle cx="12" cy="12" r="5"></circle>
|
||
<line x1="12" y1="1" x2="12" y2="3"></line>
|
||
<line x1="12" y1="21" x2="12" y2="23"></line>
|
||
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
|
||
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
|
||
<line x1="1" y1="12" x2="3" y2="12"></line>
|
||
<line x1="21" y1="12" x2="23" y2="12"></line>
|
||
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
|
||
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
|
||
</svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<ul id="menu">
|
||
<li>
|
||
<a href="https://www.siddharthagolu.com/about" title="About">
|
||
<span>About</span>
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="https://www.siddharthagolu.com/archive" title="Archive">
|
||
<span>Archive</span>
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="https://www.siddharthagolu.com/categories" title="Categories">
|
||
<span>Categories</span>
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="https://www.siddharthagolu.com/tags/" title="Tags">
|
||
<span>Tags</span>
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="https://www.siddharthagolu.com/search/" title="Search (Alt + /)" accesskey=/>
|
||
<span>Search</span>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</nav>
|
||
</header>
|
||
<main class="main">
|
||
|
||
<article class="post-single">
|
||
<header class="post-header">
|
||
<div class="breadcrumbs"><a href="https://www.siddharthagolu.com/">Home</a> » <a href="https://www.siddharthagolu.com/posts/">Posts</a></div>
|
||
<h1 class="post-title entry-hint-parent">
|
||
Fear
|
||
</h1>
|
||
<div class="post-meta"><span title='2020-04-25 23:45:30 +0530 IST'>🗓 April 25, 2020</span> · 2 min · 🔖 <a href="/tags/poetry"> poetry</a> · <a href="/tags/writing"> writing</a>
|
||
|
||
</div>
|
||
</header>
|
||
<div class="post-content"><p><a href="https://www.instagram.com/p/B_Znc5AB_hK/">Check it out on Instagram</a></p>
|
||
<hr>
|
||
<p>I’m scared.</p>
|
||
<p>No, not because there’s a pandemic going on,<br>
|
||
even though that itself is enough<br>
|
||
to make one lose their mind.</p>
|
||
<p>There’s another deadly virus crawling<br>
|
||
its way into my whole being.<br>
|
||
Slowly eating away at my sanity,<br>
|
||
feasting on my thoughts,<br>
|
||
mutating inside my head as if a colony of ants was given<br>
|
||
an open invitation to a room full of sugary syrup.</p>
|
||
<p>I’m disintegrating.</p>
|
||
<p>Funny how the same thoughts,<br>
|
||
who once used to tell me there’s an ocean of possibilities out there;<br>
|
||
are slowly drowning me into the same pool,<br>
|
||
replacing me, devouring me<br>
|
||
bit-by-bit<br>
|
||
as if my feet are tied with stones of expectations<br>
|
||
and I keep swimming to the bottom, mistaking it for the shore.</p>
|
||
<p>Splash. Splash. Splash.</p>
|
||
<p>I see people making art, saving lives, reading books, writing novels,<br>
|
||
cooking food, running home marathons -<br>
|
||
resolving to turn this gloom into resilient happiness.<br>
|
||
And I can’t help but feel disgusted<br>
|
||
at my curled up crying self in the bedroom corner,<br>
|
||
struggling to tell apart midnight from noon.</p>
|
||
<p>When I go to the kitchen to make my first<br>
|
||
(and only) meal of the day,<br>
|
||
the knife shivers, even though my hands are steady<br>
|
||
it fears for the fingers that are too close to the blunt edge,<br>
|
||
fearing that as the layers of onions come apart,
|
||
the body holding the knife<br>
|
||
will shed its pretentious layers as well,<br>
|
||
baring naked the vast void in the center.</p>
|
||
<p>How many layers will I have to cut<br>
|
||
before I find myself again?</p>
|
||
<p>I’m scared to find out.</p>
|
||
<p>But there’s hope.<br>
|
||
A distant glimmer at the horizon, but it’s there.<br>
|
||
Counting my breath, one step at a time,<br>
|
||
dragging myself through the dark tunnel,<br>
|
||
following the whisper that says</p>
|
||
<p>it gets better.<br>
|
||
it always does.<br>
|
||
it has to.</p>
|
||
<hr>
|
||
<p>A poem penned down during the Coronavirus pandemic. I see people who are struggling with mental health issues which, I can only imagine, would have exacerbated during these times. Take care of yourself, folks. Don’t forget that you matter. A lot.</p>
|
||
|
||
|
||
</div>
|
||
<br>
|
||
<details>
|
||
<summary class="post-comment">View comments</summary><script data-isso="https://comments.siddharthagolu.com/" src="https://comments.siddharthagolu.com/js/embed.min.js"></script>
|
||
<section id = "isso-thread"></section>
|
||
|
||
</details>
|
||
|
||
|
||
<footer class="post-footer">
|
||
<ul class="post-tags">
|
||
<li><a href="https://www.siddharthagolu.com/tags/poetry/">poetry</a></li>
|
||
<li><a href="https://www.siddharthagolu.com/tags/writing/">writing</a></li>
|
||
</ul>
|
||
<nav class="paginav">
|
||
<a class="prev" href="https://www.siddharthagolu.com/posts/reading/bad-blood/">
|
||
<span class="title">« Prev</span>
|
||
<br>
|
||
<span>Bad Blood by John Carreyrou</span>
|
||
</a>
|
||
<a class="next" href="https://www.siddharthagolu.com/posts/reading/waking-up/">
|
||
<span class="title">Next »</span>
|
||
<br>
|
||
<span>Waking Up by Sam Harris</span>
|
||
</a>
|
||
</nav>
|
||
|
||
</footer>
|
||
|
||
<hr>
|
||
<section class="webring">
|
||
<h3 class="header">Articles from blogs I follow around the net</h3>
|
||
<section class="articles">
|
||
|
||
<div class="article">
|
||
<h4 class="title">
|
||
<a href="https://jvns.ca/blog/2024/01/05/do-we-think-of-git-commits-as-diffs--snapshots--or-histories/" target="_blank" rel="noopener">Do we think of git commits as diffs, snapshots, and/or histories?</a>
|
||
</h4>
|
||
<p class="summary">Hello! I’ve been extremely slowly trying to figure how to explain every core
|
||
concept in Git (commits! branches! remotes! the staging area!) and commits have
|
||
been surprisingly tricky.
|
||
|
||
Understanding how git commits are implemented feels pretty straightforward …</p>
|
||
<small class="source">
|
||
via <a href="http://jvns.ca">Julia Evans</a>
|
||
</small>
|
||
<small class="date">January 5, 2024</small>
|
||
</div>
|
||
|
||
<div class="article">
|
||
<h4 class="title">
|
||
<a href="http://blog.miguelgrinberg.com/post/how-to-add-dark-mode-support-to-your-website" target="_blank" rel="noopener">How To Add Dark Mode Support To Your Website</a>
|
||
</h4>
|
||
<p class="summary">You may have noticed that I have recently added a dark mode to this blog. The default color theme now follows the theme setting in your operating system by default, and you can also select which mode to enable from the top navigation bar.
|
||
|
||
Nice, right? I ha…</p>
|
||
<small class="source">
|
||
via <a href="http://blog.miguelgrinberg.com/feed">http://blog.miguelgrinberg.com/feed</a>
|
||
</small>
|
||
<small class="date">January 1, 2024</small>
|
||
</div>
|
||
|
||
<div class="article">
|
||
<h4 class="title">
|
||
<a href="https://jlcollinsnh.com/2023/11/29/41-intriguing-quotes-about-family-endgame-the-little-girl-who-wouldnt-listen-from-pathfinders/" target="_blank" rel="noopener">41 Intriguing Quotes about Family, Endgame & The Little Girl Who Wouldn’t Listen from Pathfinders</a>
|
||
</h4>
|
||
<p class="summary">This is the third and final post of “intriguing quotes” since the October 31st launch of… Pathfinders It has been two years in the making and it is a book I have wanted to bring to you since 2016 after The Simple Path to Wealth was published. Within month…</p>
|
||
<small class="source">
|
||
via <a href="https://jlcollinsnh.com/">JLCollinsnh</a>
|
||
</small>
|
||
<small class="date">November 29, 2023</small>
|
||
</div>
|
||
|
||
</section>
|
||
<p class="attribution">
|
||
Generated by
|
||
<a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
|
||
</p>
|
||
</section>
|
||
<style>
|
||
.webring .header {
|
||
margin: 0 0 12px;
|
||
}
|
||
.webring .articles {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
margin: -0.5rem;
|
||
}
|
||
.webring .title {
|
||
margin: 4px 0 12px;
|
||
}
|
||
.webring .article {
|
||
flex: 1 1 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
margin: 0.5rem;
|
||
padding: 0.5rem;
|
||
background: var(--openring-bg);
|
||
min-width: 10rem;
|
||
}
|
||
.webring .summary {
|
||
font-size: 0.8rem;
|
||
flex: 1 1 0;
|
||
}
|
||
.webring .attribution {
|
||
text-align: right;
|
||
font-size: 0.8rem;
|
||
color: #555;
|
||
}
|
||
</style>
|
||
|
||
|
||
</article>
|
||
</main>
|
||
|
||
<footer class="footer">
|
||
<span>© 2024 <a href="https://www.siddharthagolu.com/">Siddhartha Golu</a></span>
|
||
<span>
|
||
Powered by
|
||
<a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> &
|
||
<a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a>
|
||
</span>
|
||
</footer>
|
||
<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g">
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
|
||
<path d="M12 6H0l6-6z" />
|
||
</svg>
|
||
</a>
|
||
|
||
<script>
|
||
let menu = document.getElementById('menu')
|
||
if (menu) {
|
||
menu.scrollLeft = localStorage.getItem("menu-scroll-position");
|
||
menu.onscroll = function () {
|
||
localStorage.setItem("menu-scroll-position", menu.scrollLeft);
|
||
}
|
||
}
|
||
|
||
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||
anchor.addEventListener("click", function (e) {
|
||
e.preventDefault();
|
||
var id = this.getAttribute("href").substr(1);
|
||
if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
|
||
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({
|
||
behavior: "smooth"
|
||
});
|
||
} else {
|
||
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView();
|
||
}
|
||
if (id === "top") {
|
||
history.replaceState(null, null, " ");
|
||
} else {
|
||
history.pushState(null, null, `#${id}`);
|
||
}
|
||
});
|
||
});
|
||
|
||
</script>
|
||
<script>
|
||
var mybutton = document.getElementById("top-link");
|
||
window.onscroll = function () {
|
||
if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) {
|
||
mybutton.style.visibility = "visible";
|
||
mybutton.style.opacity = "1";
|
||
} else {
|
||
mybutton.style.visibility = "hidden";
|
||
mybutton.style.opacity = "0";
|
||
}
|
||
};
|
||
|
||
</script>
|
||
<script>
|
||
document.getElementById("theme-toggle").addEventListener("click", () => {
|
||
if (document.body.className.includes("dark")) {
|
||
document.body.classList.remove('dark');
|
||
localStorage.setItem("pref-theme", 'light');
|
||
} else {
|
||
document.body.classList.add('dark');
|
||
localStorage.setItem("pref-theme", 'dark');
|
||
}
|
||
})
|
||
|
||
</script>
|
||
<script>
|
||
document.querySelectorAll('pre > code').forEach((codeblock) => {
|
||
const container = codeblock.parentNode.parentNode;
|
||
|
||
const copybutton = document.createElement('button');
|
||
copybutton.classList.add('copy-code');
|
||
copybutton.innerHTML = 'copy';
|
||
|
||
function copyingDone() {
|
||
copybutton.innerHTML = 'copied!';
|
||
setTimeout(() => {
|
||
copybutton.innerHTML = 'copy';
|
||
}, 2000);
|
||
}
|
||
|
||
copybutton.addEventListener('click', (cb) => {
|
||
if ('clipboard' in navigator) {
|
||
navigator.clipboard.writeText(codeblock.textContent);
|
||
copyingDone();
|
||
return;
|
||
}
|
||
|
||
const range = document.createRange();
|
||
range.selectNodeContents(codeblock);
|
||
const selection = window.getSelection();
|
||
selection.removeAllRanges();
|
||
selection.addRange(range);
|
||
try {
|
||
document.execCommand('copy');
|
||
copyingDone();
|
||
} catch (e) { };
|
||
selection.removeRange(range);
|
||
});
|
||
|
||
if (container.classList.contains("highlight")) {
|
||
container.appendChild(copybutton);
|
||
} else if (container.parentNode.firstChild == container) {
|
||
|
||
} else if (codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName == "TABLE") {
|
||
|
||
codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.appendChild(copybutton);
|
||
} else {
|
||
|
||
codeblock.parentNode.appendChild(copybutton);
|
||
}
|
||
});
|
||
</script>
|
||
</body>
|
||
|
||
</html>
|