<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://darveshgorhe.com/feed.xml" rel="self" type="application/atom+xml"/><link href="https://darveshgorhe.com/" rel="alternate" type="text/html" hreflang="en"/><updated>2026-10-22T18:56:19+00:00</updated><id>https://darveshgorhe.com/feed.xml</id><title type="html">blank</title><subtitle>Darvesh Gorhe&apos;s personal website. Based on the al-folio academic template. </subtitle><entry><title type="html">Placeholder - how to write a post</title><link href="https://darveshgorhe.com/blog/2026/placeholder-post/" rel="alternate" type="text/html" title="Placeholder - how to write a post"/><published>2026-10-22T16:00:00+00:00</published><updated>2026-10-22T16:00:00+00:00</updated><id>https://darveshgorhe.com/blog/2026/placeholder-post</id><content type="html" xml:base="https://darveshgorhe.com/blog/2026/placeholder-post/"><![CDATA[<p>This is a placeholder post. Use it as a template: copy the file, or edit it in place and replace the text.</p> <h2 id="creating-a-post">Creating a post</h2> <ol> <li>Add a Markdown file to <code class="language-plaintext highlighter-rouge">_posts/</code> named <code class="language-plaintext highlighter-rouge">YYYY-MM-DD-your-title.md</code>. The date in the filename sets the post date.</li> <li>Fill in the front matter at the top of the file, between the two <code class="language-plaintext highlighter-rouge">---</code> lines: <code class="language-plaintext highlighter-rouge">layout: post</code>, <code class="language-plaintext highlighter-rouge">title</code>, <code class="language-plaintext highlighter-rouge">date</code>, <code class="language-plaintext highlighter-rouge">description</code>, and optionally <code class="language-plaintext highlighter-rouge">tags</code> and <code class="language-plaintext highlighter-rouge">categories</code>.</li> <li>Write the body below the second <code class="language-plaintext highlighter-rouge">---</code> in ordinary Markdown.</li> <li>Preview locally with <code class="language-plaintext highlighter-rouge">bundle exec jekyll serve</code>, then open <code class="language-plaintext highlighter-rouge">http://localhost:4000</code>.</li> </ol> <p>Posts are published at <code class="language-plaintext highlighter-rouge">/blog/YEAR/TITLE/</code>, using the <code class="language-plaintext highlighter-rouge">permalink</code> set in <code class="language-plaintext highlighter-rouge">_config.yml</code>.</p> <h2 id="markdown-basics">Markdown basics</h2> <p>Headings, <em>italic</em>, <strong>bold</strong>, <a href="https://example.com">links</a>, and lists all work as usual.</p> <ul> <li>a bullet point</li> <li>another bullet point</li> </ul> <p>Code blocks use triple backticks and a language name:</p> <div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kn">import</span> <span class="n">pandas</span> <span class="k">as</span> <span class="n">pd</span>
</code></pre></div></div> <h2 id="images">Images</h2> <p>Put the image file in <code class="language-plaintext highlighter-rouge">assets/img/</code>, then embed it with the figure include, passing the <code class="language-plaintext highlighter-rouge">path</code>, <code class="language-plaintext highlighter-rouge">title</code>, and <code class="language-plaintext highlighter-rouge">class</code> attributes. The example below sits inside a raw block so it displays as text rather than rendering the image:</p> <div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">{%</span><span class="w"> </span><span class="nt">include</span><span class="w"> </span>figure.liquid<span class="w"> </span><span class="na">path</span><span class="o">=</span><span class="s2">"assets/img/prof_pic.jpg"</span><span class="w"> </span><span class="na">title</span><span class="o">=</span><span class="s2">"a caption"</span><span class="w"> </span><span class="na">class</span><span class="o">=</span><span class="s2">"img-fluid rounded z-depth-1"</span><span class="w"> </span><span class="cp">%}</span>
</code></pre></div></div> <h2 id="latex-math">LaTeX math</h2> <p>Math is enabled site-wide (<code class="language-plaintext highlighter-rouge">enable_math: true</code> in <code class="language-plaintext highlighter-rouge">_config.yml</code>) and rendered with MathJax.</p> <p>Inline math sits inside a sentence, for example the identity \(E = mc^2\) or the sample mean \(\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i\).</p> <p>Display math goes on its own line, between <code class="language-plaintext highlighter-rouge">$$</code> markers:</p> \[\hat{\beta} = (X^\top X)^{-1} X^\top y\] <p>Numbered equations use the <code class="language-plaintext highlighter-rouge">equation</code> environment, and a <code class="language-plaintext highlighter-rouge">\label</code> lets you refer to them with <code class="language-plaintext highlighter-rouge">\eqref</code>:</p> <p>\begin{equation} \label{eq:gaussian} f(x) = \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left(-\frac{(x-\mu)^2}{2\sigma^2}\right) \end{equation}</p> <p>Equation \eqref{eq:gaussian} is the Gaussian density.</p> <h3 id="tips">Tips</h3> <ul> <li>Math needs no special escaping in the post body. Write <code class="language-plaintext highlighter-rouge">\frac</code>, <code class="language-plaintext highlighter-rouge">\sum</code>, and so on as they appear in LaTeX.</li> <li>If a section contains Liquid-style curly braces, wrap it in a raw block as shown in the Images section above.</li> <li>To show LaTeX as text instead of rendering it, put it in a code block.</li> </ul>]]></content><author><name></name></author><category term="placeholder"/><category term="formatting"/><category term="math"/><summary type="html"><![CDATA[A placeholder post showing how to write a blog post, including how to include LaTeX math]]></summary></entry></feed>